archive

package
v1.50.0 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectTGZAndUnpack

func DetectTGZAndUnpack(filePath string, targetDir string) (err error)

func FileIsGZ

func FileIsGZ(file string) (isGZ bool, err error)

func FileIsTar

func FileIsTar(file string) (isTar bool, err error)

func Gunzip

func Gunzip(source string, target string) (err error)

Inflate GZip file.

Writes decompressed data to target path.

func UnTar

func UnTar(tarball string, dir string) (err error)

Extract tarball to dir

Types

This section is empty.

Jump to

Keyboard shortcuts

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