Documentation
¶
Overview ¶
Package archive provides small filesystem zip/unzip helpers with no dependency on any application domain package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveAllInDirExcept ¶
RemoveAllInDirExcept deletes every entry under dir except the absolute paths listed in exclude.
func UnzipToDir ¶
UnzipToDir extracts zipPath into dstDir, guarding against path traversal.
func ZipDirectoryExcluding ¶
ZipDirectoryExcluding packs srcDir into dstZip. exclude is a set of absolute paths to skip.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.