proxy.golang.org : github.com/jhuntwork/extract/v3 : v3.0.0
Package extract allows to extract archives in zip, tar.gz or tar.bz2 formats easily. Most of the time you'll just need to call the proper function with a buffer and a destination: ``` Sometimes you'll want a bit more control over the files, such as extracting a subfolder of the archive. In this cases you can specify a renamer func that will change the path for every file: ``` If you don't know which archive you're dealing with (life really is always a surprise) you can use Archive, which will infer the type of archive from the first bytes
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/jhuntwork/extract/[email protected]
Published:
Indexed:
- github.com/davecgh/go-spew v1.1.1
- github.com/h2non/filetype v1.0.6
- github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5
- github.com/juju/testing v0.0.0-20200510222523-6c8c298c77a0
- github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e
- github.com/stretchr/testify v1.3.0
- gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f