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

Hash Table For Querying Filesystem Modifications #38

Closed
bitnom opened this issue Nov 29, 2018 · 1 comment
Closed

Hash Table For Querying Filesystem Modifications #38

bitnom opened this issue Nov 29, 2018 · 1 comment

Comments

@bitnom
Copy link

bitnom commented Nov 29, 2018

It would be extremely useful to provide, via this API, a hash table of all files a domain has access to:

[id] [rel path] [hash] [modified date]

That could be the schema unless the hashes can be added to an existing mechanism. It would be a big help as to minimize the amount of directory traversal needed over the wire, which can be an expensive operation. If instead the browser keeps a hash table on behalf of the domain, these operations will be few.

I'm not sure what hashing libraries are most commonly included in modern browsers. All hashing algorithms are not created equal. My favorite algorithm for quickly (Very quickly, nearly 1GBPS) hashing files is blake2. Such a table would also serve as a big help to sites/apps making use of #14

@mkruisselbrink
Copy link
Contributor

I'm not entirely sure I understand the request/use case. It seems to me like some combination of #72, and the fact that a website can already store handles in IDB themselves (with whatever metadata they like, such as a hash) covers the request here?

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

2 participants