Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTest = errors.New("rezip test failed")
Functions ¶
func Compress ¶
Compress compresses the named file into the dest zip file using the Deflate method. The total number of bytes written to the zip file is returned.
The dest must be a valid file path and should include the .zip extension. If the dest file already exists, an error is returned.
func CompressDir ¶
CompressDir compresses the named root directory into the dest zip file using both the Deflate method. The total number of bytes written to the zip file is returned.
The dest must be a valid file path and should include the .zip extension. If the dest file already exists, an error is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.