archive

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdTar = "tar"
)
View Source
const (
	CmdUnzip = "unzip"
)

Variables

This section is empty.

Functions

func HasTarExtension

func HasTarExtension(file string) bool

func HasZipExtension

func HasZipExtension(file string) bool

func TarExtensions

func TarExtensions() []string

func UnTar

func UnTar(dir, file string, log *logrus.Entry) ([]string, error)

func UnZip

func UnZip(dir, file string, log *logrus.Entry) ([]string, error)

func ZipExtensions

func ZipExtensions() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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