zip

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorParamEmpty liberr.CodeError = iota + arcmod.MinPkgArchiveZip
	ErrorFileOpen
	ErrorFileClose
	ErrorFileSeek
	ErrorFileStat
	ErrorIOCopy
	ErrorZipOpen
	ErrorZipCreate
	ErrorZipComment
	ErrorZipAddFile
	ErrorZipFileOpen
	ErrorZipFileClose
	ErrorDirCreate
	ErrorDestinationStat
	ErrorDestinationIsDir
	ErrorDestinationIsNotDir
	ErrorDestinationRemove
)

Variables

This section is empty.

Functions

func Create added in v1.8.10

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

func GetAll added in v1.3.0

func GetAll(src libfpg.Progress, outputFolder string, defaultDirPerm os.FileMode) liberr.Error

func GetFile

func GetFile(src, dst libfpg.Progress, filenameContain, filenameRegex string) liberr.Error

Types

This section is empty.

Jump to

Keyboard shortcuts

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