extract icon indicating copy to clipboard operation
extract copied to clipboard

A Go library to extract archives in zip, tar.gz or tar.bz2 formats

Results 9 extract issues
Sort by recently updated
recently updated
newest added

When extracting regular files, the file is opened for writing with `os.O_TRUNC`, making it suitable to extract over an existing file. This allows updating a local copy from an updated...

Fix a couple of permissions issues with zip files, spotted when using the arduino CLI to install the LiquidCrystal library "arduino-cli lib install LiquidCrystal" which results in inappropriate permissions of...

Instead of extracting into a target directory, support extracting into memory / io buffer. Best regards Jonas

Support strip parameter (len, integer) for the target extract directory so that root directories of the extracted content can be skipped. Best regards Jonas

instead of read the whole body into a buffer, can we try zipstream like java ZipInputStream? github.com/xenking/zipstream ``` zr := zipstream.NewReader(&zipFile) meta, err := zr.Next() if err != nil {...

Calling `Extractor`'s `Archive()` function is convenient due to the format auto-detection (allowing the calling application to treat files as generic archives and have this module figured out the details) however,...

A small change that is unfortunately API breaking (hence `v5`). Addresses #29 and probably also enables a solution for #25.

Similar to #25 - I have a requirement to do something other than vanilla I/O against an `io.File`, so changed the `OpenFile()` signature like this: ```diff diff --git a/extract.go b/extract.go...

The link to v1 docs was misleading