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

s2: Add Index header trim/restore #638

Merged
merged 3 commits into from
Jul 8, 2022
Merged

Conversation

klauspost
Copy link
Owner

Add RemoveIndexHeaders that will remove 20 header+trailer bytes for cases when storage can be relied upon.

RestoreIndexHeaders will restore the index header+trailer so it can be loaded.

Add `RemoveIndexHeaders` that will remove 20 header+trailer bytes for cases when storage can be relied upon.

`RestoreIndexHeaders` will restore the index header+trailer so it can be loaded.
@klauspost klauspost merged commit 9d7fe70 into master Jul 8, 2022
@klauspost klauspost deleted the s2-trim-index-headers branch July 8, 2022 15:27
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

Successfully merging this pull request may close these issues.

1 participant