holepunchto / corestore

A simple corestore that wraps a random-access-storage module
https://docs.holepunch.to
MIT License
72 stars 31 forks source link

Add documentation for `Corestore.close` method. #72

Closed cowlicks closed 7 months ago

cowlicks commented 10 months ago

Hello, I needed a way to close a Corestore instance, but was not able to find it in the docs. I noticed the instance had a close method. Calling this worked for me. I think it should be documented.

I needed the close method for tests where I was closing and reopening instances that loaded from the same storage directory.

mafintosh commented 10 months ago

PR welcome

arunkd13 commented 7 months ago

Looks quite old. Are there any other docs that need updating or can this be closed?