archive

package
v0.0.0-...-6a1c4ee Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Untar

func Untar(src string, dst string) (err error)

Untar extracts a tar.gz/tgz file, moving all files and folders within the tar file (src) to an output directory (dst). NOTE: Untar is mainly taken from a go internal pkg: https://pkg.go.dev/golang.org/x/build/internal/untar

func Unzip

func Unzip(src string, dst string) error

Unzip extracts a zip file, moving all files and folders within the zip file (src) to an output directory (dst).

Types

This section is empty.

Jump to

Keyboard shortcuts

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