dat-ecosystem-archive/how-dat-works

On-disk storage format

Opened this issue · 1 comments

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

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.