Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorConflict = errors.New("conflict")
)
View Source
var (
ErrorUnsupportedOperation = errors.New("unsupported operation")
)
Functions ¶
Types ¶
type ZipWriter ¶
type ZipWriter interface { // Create an archive file. dstPath must include file name. Open(dstPath string) error // Add a file into the archive. AddFile(srcFilePath string, relPath string) error // Add a folder into the archive. AddFolder(srcFolderPath string, relPath string) error // Flush and close the archive file Close() error }
Click to show internal directories.
Click to hide internal directories.