Documentation
¶
Index ¶
- func CreateTarGz(sourceDir, targetFile string) error
- func ExtractTarGz(tarGzFile, targetDir string) error
- func GzipCompress(data []byte) ([]byte, error)
- func GzipCompressFile(sourceFile, targetFile string) error
- func GzipDecompress(compressedData []byte) ([]byte, error)
- func GzipDecompressFile(sourceFile, targetFile string) error
- func UnzipFile(zipFile, targetDir string) error
- func ZipDirectory(sourceDir, targetFile string) error
- func ZlibCompress(data []byte) ([]byte, error)
- func ZlibDecompress(compressedData []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GzipCompressFile ¶
GzipCompressFile 压缩文件为Gzip格式
func GzipDecompress ¶
GzipDecompress 解压Gzip格式的数据
func GzipDecompressFile ¶
GzipDecompressFile 解压Gzip格式的文件
func ZlibDecompress ¶
ZlibDecompress 解压Zlib格式的数据
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.