proxy.golang.org : github.com/hashicorp/go-extract
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
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/hashicorp/go-extract
License: MPL-2.0
Latest release: 4 months ago
First release: over 1 year ago
Namespace: github.com/hashicorp
Stars: 14 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 17 days ago