-
Notifications
You must be signed in to change notification settings - Fork 4
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
Resolve open questions #31
Comments
Below is a bullet list summarising my thoughts on some of the questions:
Other brainstorming:
|
Thanks for your thoughts! I'm planning on switching hashes to something that recursively hashes directories. If I do this, empty directories would no longer be a special case, so I think no harm in making them work. I definitely like the idea of using CBOR, and converting to JSON would still be possible, which, as you say, I've definitely settled on using a separate file for metadata. The thing which pushed this over the edge was the desire to verify directories without a manifest, by verifying against the final root hash (which I'm calling the "fingerprint"). You would do:
And it would calculate the recursive directory hash, and compare it against HASH. If the manifest contained metadata, and thus contributed to HASH, you could not do this without the metadata, whereas if metadata is just another file, it's no problem. I wouldn't want to use database formats just because they're so complicated, and offer so many degrees of freedom. Could you elaborate on what you mean by file indexing? What kinds of thing do you think would be useful? |
See DESIGN.md.
The text was updated successfully, but these errors were encountered: