tgz

package
v4.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(fs billy.Filesystem, tgz string) (billy.Filesystem, error)

Extract decompress a gziped tarball into a new temporal directory created just for this purpose.

On success, the path of the newly created directory and a nil error is returned.

A non-nil error is returned if the method fails to complete. The returned path will be an empty string if no information was extracted before the error and the temporal directory has not been created. Otherwise, a non-empty string with the temporal directory holding whatever information was extracted before the error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL