Registry / utility / fluxcd-pkg-untar

fluxcd-pkg-untar

JSON →
library0.3.0gogounverified

Extracts a tarball to disk, providing a simple untar utility for Go.

go get github.com/fluxcd/pkg/untar
INSTALL
IMPORT
SIG · FLUXCD-PKG-UNTAR
F
fluxcd-pkg-untar
utilitygov0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

untar
github.com/fluxcd/pkg/untar

Untars a tarball from a reader to a destination directory.

package main import ( "bytes" "github.com/fluxcd/pkg/untar" "os" ) func main() { data := []byte{} // tarball bytes err := untar.Untar(bytes.NewReader(data), "/tmp/dest") if err != nil { panic(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fluxcd-pkg-untar — go get fluxcd-pkg-untar · libregistry