Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDoNotUnzipAFileAtRiskOfZipSlip = errors.New("zipz: do not unzip a file at risk of zip slip")
Functions ¶
Types ¶
type UnzipFileOption ¶
type UnzipFileOption interface {
// contains filtered or unexported methods
}
func UnzipFileWithFileInZipHandler ¶
func UnzipFileWithFileInZipHandler(f func(zipfile *zip.File, dstDir string) error) UnzipFileOption
type ZipDirOption ¶
type ZipDirOption interface {
// contains filtered or unexported methods
}
func ZipDirWithPathInZipHandler ¶
func ZipDirWithPathInZipHandler(f func(path string) string) ZipDirOption
func ZipDirWithWalkHandler ¶
Click to show internal directories.
Click to hide internal directories.