Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On-disk storage format #25

Open
martinheidegger opened this issue Jan 12, 2019 · 1 comment
Open

On-disk storage format #25

martinheidegger opened this issue Jan 12, 2019 · 1 comment
Milestone

Comments

@martinheidegger
Copy link
Contributor

martinheidegger commented Jan 12, 2019

How dat stores the various cores on the filesystem is more magic than one might assume.

  • What happens if I change a file while syncing?
  • What happens after I deleted a synced file?
  • What is the difference in a writable or readable dat folder?
  • What happens if the .dat folder is deleted?

https://github.com/datproject/dat-node/blob/master/lib/storage.js
https://github.com/datproject/dat-storage/blob/master/index.js

@ghost
Copy link

ghost commented Jan 13, 2019

Thanks! These are really good questions to cover. I’m keen for the guide to cover these, though the work on these topics will have to come after the networking side is more complete.

@ghost ghost changed the title Explain the storage system of dat On-disk storage format Jan 13, 2019
@ghost ghost added this to the v2 milestone Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant