tarreader

package
v0.5.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFileNotFound = errors.New("file not found")

ErrFileNotFound is returned when the given name is not found in the archive.

Functions

func FromGZ

func FromGZ(gz []byte) ([]byte, error)

FromGZ decompresses the given data.

func FromTarGZ

func FromTarGZ(tgz []byte, name string) ([]byte, error)

FromTarGZ reads the named file from the compressed, tar archive in tgz.

Types

This section is empty.

Jump to

Keyboard shortcuts

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