tar

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorParamsEmpty errors.CodeError = iota + errors.MinPkgArchive + 30
	ErrorTarNext
	ErrorFileOpen
	ErrorFileSeek
	ErrorFileClose
	ErrorIOCopy
	ErrorDirCreate
	ErrorLinkCreate
	ErrorSymLinkCreate
	ErrorDestinationStat
	ErrorDestinationIsDir
	ErrorDestinationIsNotDir
	ErrorDestinationRemove
	ErrorTarCreate
	ErrorGzipCreate
	ErrorTarCreateAddFile
)

Variables

This section is empty.

Functions

func Create added in v1.6.0

func Create(archive io.WriteSeeker, stripPath string, content ...string) (bool, liberr.Error)

func CreateGzip added in v1.6.0

func CreateGzip(archive io.WriteSeeker, stripPath string, content ...string) (bool, liberr.Error)

func GetAll added in v1.3.0

func GetAll(src io.ReadSeeker, outputFolder string, defaultDirPerm os.FileMode) errors.Error

func GetFile

func GetFile(src, dst ioutils.FileProgress, filenameContain, filenameRegex string) errors.Error

func IsCodeError

func IsCodeError() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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