Repository navigation
Accept tar and compressed tar extractions as archive sources - #29
Merged
Merged
Conversation
archive_format decides zip, tar or compressed tar from the bytes. A tar is enumerated in one streaming pass that records each member's header, first bytes and data offset; a plain tar is then read on demand by seeking to that offset, and a compressed tar, which cannot be seeked, is always copied out and the case records why. Links are skipped and counted. A single root that is a device directory (data/, private/) is no longer stripped from rel_path. Relink and unstage verify a tar by size and modification time from a fresh pass, refreshing the offsets. User-facing text says archive rather than zip. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Accepts tar and compressed tar extractions as archive sources, alongside zip. The format is decided by the file's bytes.
data/is no longer stripped fromrel_pathMeasured: a 7.2 GB Android tar registered 2,389 media by offset and processed in 22 s with a 22 MB case; a 16.7 GB gzipped iOS image registered and copied out 49,245 media in 2 min 7 s.
🤖 Generated with Claude Code