Repository navigation
v1.4.0
Add support for [.tar].gz archive format! v1.4.0
Add support for tarballs (.tar.gz) and gzipped (.gz) files. Support for just .tar files is not yet implemented.
Uses the flate2 crate for decompressing from gzip, and the tar crate for tar variants.
Full support for this requires further work because:
- the fact that we support .gz without .tar is undocumented, as we have not before made the distinction between archiving and compressing;a
we do not yet support password-protected [.tar].gzfiles (if possible); and- a lot of the logic (particularly for checking whether an input file is a
.tar.gzor just a.gz) is quite inefficient as it reads the file into aGzDecoder/Archivemultiple times, as functions who check these mutate them. It would be better if we could clone them, but I'm not sure that's possible as implemented in the crates that provide those data structures.
See merge request #4
Full Changelog: v1.3.0...v1.4.0
a Implemented in v1.4.1