Documentation ¶
Index ¶
- Constants
- func Create(archive io.WriteSeeker, stripPath string, comment string, content ...string) (bool, liberr.Error)
- func GetAll(src ioutils.FileProgress, outputFolder string, defaultDirPerm os.FileMode) errors.Error
- func GetFile(src, dst ioutils.FileProgress, filenameContain, filenameRegex string) errors.Error
- func IsCodeError() bool
Constants ¶
View Source
const ( ErrorParamsEmpty errors.CodeError = iota + errors.MinPkgArchive + 40 ErrorFileOpen ErrorFileClose ErrorFileSeek ErrorFileStat ErrorIOCopy ErrorZipOpen ErrorZipCreate ErrorZipComment ErrorZipAddFile ErrorZipFileOpen ErrorZipFileClose ErrorDirCreate ErrorDestinationStat ErrorDestinationIsDir ErrorDestinationIsNotDir ErrorDestinationRemove )
Variables ¶
This section is empty.
Functions ¶
func GetFile ¶
func GetFile(src, dst ioutils.FileProgress, filenameContain, filenameRegex string) errors.Error
func IsCodeError ¶
func IsCodeError() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.