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

How to get next hyperdrive version for an entry #72

Closed
josephmturner opened this issue Apr 11, 2023 · 2 comments
Closed

How to get next hyperdrive version for an entry #72

josephmturner opened this issue Apr 11, 2023 · 2 comments

Comments

@josephmturner
Copy link
Contributor

It is currently possible to navigate backwards through the history of a hyperdrive entry by checking the ETag returned in the HEAD/GET response header, decrementing that ETag, then loading the previous version (hyper://PUBLIC-KEY/$/version/ETAG-1/file.txt).

How can we load the next version of a hyperdrive entry? For "directories", this is as simple as incrementing the ETag. IIUC, for files we have to iterate through ETags going forward from current version. Is there a more practical solution?

@alphapapa
Copy link

Thanks.

@josephmturner
Copy link
Contributor Author

No good way to go forward.

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