-
Notifications
You must be signed in to change notification settings - Fork 621
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
[archive] add Tar and Untar classes #388
Conversation
Nice! |
@ry Thanks! I've updated some features and this PR is good to go on my side. As a side note, these classes focus on in-memory operations using |
@arcatdmz This looks like a great first pass at tar functionality.
I think that's better actually as it's low-level. I guess we'll hear complaints from people if they come to use it but can't easily hook into it. Thanks and sorry it took so long to land! |
Tar (ustar) archiver
As a starting point to address #376,
Deno.Reader
Untar
class that reads and deflates tar archives.Usage
To create a tar archive, use
Tar
class:To
deflateextract files from a tar archive, useUntar
class:[Update] It seems like the term "deflate" denotes a specific compression algorithm and we should use a more general term like "extract". Renamed as such in 94e109b.