tgz

package
v5.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnableToUntarType            = errors.New("unable to untar type")
	ErrCannotBeNegative             = errors.New("mode cannot be negative")
	ErrCannotBeGreaterThanMaxUInt32 = errors.New("mode cannot be greater than max uint32")
)
View Source
var MemFactory = func() (billy.Filesystem, error) {
	return memfs.New(), nil
}

Functions

func Extract

func Extract(tgz billy.File, fs billy.Filesystem) (err error)

Extract decompress a gziped tarball into the fs billy.Filesystem.

A non-nil error is returned if the method fails to complete.

Types

This section is empty.

Jump to

Keyboard shortcuts

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