proxy.golang.org : github.com/hashicorp/go-extract : v0.7.0
Package extract provides a function to extract files from a reader to a destination. The extraction process is determined by the file type, with support for various formats that can be output to the underlying OS, in-memory, or a custom filesystem target. Configuration is done using the Config, which is a configuration struct that can be used to set the extraction type, the logger, the telemetry hook, and the maximum input size. Telemetry data is captured during the extraction process. The collection of TelemetryData is done using the telemetry package. Demonstrates how to extract an "example.zip" source archive to an "output" directory on disk with the default configuration options.
Registry -
Documentation -
Download -
JSON
purl: pkg:golang/github.com/hashicorp/[email protected]
Published:
Indexed:
- github.com/alecthomas/kong v0.9.0
- github.com/andybalholm/brotli v1.1.0
- github.com/bodgit/plumbing v1.3.0
- github.com/bodgit/sevenzip v1.5.1
- github.com/bodgit/windows v1.0.1
- github.com/dsnet/compress v0.0.1
- github.com/golang/snappy v0.0.4
- github.com/hashicorp/errwrap v1.0.0
- github.com/hashicorp/go-multierror v1.1.1
- github.com/hashicorp/golang-lru/v2 v2.0.7
- github.com/klauspost/compress v1.17.8
- github.com/pierrec/lz4/v4 v4.1.21
- github.com/ulikunitz/xz v0.5.12
- go4.org v0.0.0-20200411211856-f5505b9728dd
- golang.org/x/text v0.14.0