github.com/codeclysm/extract
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
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 7 years ago
v2.2.0+incompatible
almost 7 years ago
Versions
7
7
Dependent Packages
38
38
Dependent Repos
109
109
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/codeclysm/extract
spec |
| License | MIT |
| Namespace | github.com/codeclysm |
| First Release | about 9 years ago |
| Last Synced | about 4 hours ago |
Rankings on proxy.golang.org
Overall
Top 3.3%
Dependent packages
Top 0.8%
Dependent repos
Top 0.6%
Forks
Top 5.4%
Docker downloads
Top 1.2%