tarball

package
v29.0.0-...-a2903dc Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrGzipFileNotFound the file not found in the gzip.
	ErrGzipFileNotFound = errors.New("file not found in the gzip")
	// ErrNotGzipType the file is not a gzip.
	ErrNotGzipType = errors.New("file is not a gzip type")
	// ErrInvalidFileName the file name is invalid.
	ErrInvalidFileName = errors.New("invalid file name")
)

Functions

func ExtractFile

func ExtractFile(reader io.Reader, out io.Writer, fileName string) (string, error)

ExtractFile founds and reads a specific file into a gzip file and folders recursively.

Types

This section is empty.

Jump to

Keyboard shortcuts

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