Skip to content
This repository was archived by the owner on Sep 30, 2023. It is now read-only.

This function doesn't match the API #26

Closed
willemneal opened this issue Jun 28, 2018 · 1 comment · Fixed by #30
Closed

This function doesn't match the API #26

willemneal opened this issue Jun 28, 2018 · 1 comment · Fixed by #30
Labels
needed: docs This should have documentation added before it is closed.

Comments

@willemneal
Copy link

https://github.com/orbitdb/orbit-db-store/blob/931c452e5197bcd4a2cb716eecfe675da87e2838/src/Store.js#L305

loadFromSnapshot(hash, onProgressCallback)

Load the state of the database from a snapshot. hash is the IPFS Multihash of the snapshot data. Returns a Promise that resolves when the database has been loaded.

@haadcode
Copy link
Member

@willemneal thanks for reporting this! And sorry for the delay.

Would you care to create a PR that updates the documentation?

@RichardLitt RichardLitt added the needed: docs This should have documentation added before it is closed. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needed: docs This should have documentation added before it is closed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants