archive.tar: reader feature#24995
Merged
spytheman merged 6 commits intoJul 30, 2025
Merged
Conversation
|
Connected to Huly®: V_0.6-23514 |
… examples/flag instead of flag
Collaborator
|
While it's handy to have it handle gzip compressed tar files, building it in isn't really the best idea, since there are lots of other compression programs supported by tar... bzip, xz, etc., etc. |
Contributor
Author
Totally agree, this tool is only the reader not the writer. If you know in advance the structure of your tar you can extract some parts saving time and space. |
spytheman
reviewed
Jul 29, 2025
spytheman
reviewed
Jul 30, 2025
spytheman
reviewed
Jul 30, 2025
spytheman
reviewed
Jul 30, 2025
spytheman
reviewed
Jul 30, 2025
spytheman
reviewed
Jul 30, 2025
spytheman
reviewed
Jul 30, 2025
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.
V code to read into memory selected sections of archives
*.tar.gz.Modules proposal
Example application
File:
examples/tar_gz_reader.vDownload HTTPS (default archive)
Debug ignores, dirs, files. Stop early with file ending in
CONDUCT.mdand print all its rows:A long list of blocks:
Download local
URL name should start with
file:///, apps looks archive path from home directory.Debug all, stop early at block 12_543 and verify filepaths can be longer than 100 chars.