A Go package for easy handling of archive formats like zip
and tar
(both compressed and compressed).
Tar archives can be created using the tar
package.
The following compression formats are supported:
- bzip2 (only decompression)
- gzip
- xz
- zstd
Zip archives can be created using the zip
package.
The following compression formats are supported:
- gzip
This library takes care to make sure that file paths are cleaned to try and avoid path traversals. All close methods that returns errors are also handled accordingly when defered.