tarutils

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetrieveArchive

func RetrieveArchive(fs afero.Fs, uri string) (io.ReadCloser, error)

Retrieves the file from the given uri The uri can be a remote url or a file on the local fs This function returns a ReadCloser and it is the responsibility of the caller to close it

func Tar

func Tar(src string, fs afero.Fs, writers ...io.Writer) error

func Untar

func Untar(dst, src string, fs afero.Fs) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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