Documentation
¶
Index ¶
- func CompressBZIP2(src, dst string) error
- func CompressGZIP(src, dst string) error
- func CompressTAR(src, dst string) error
- func CompressXZ(src, dst string) error
- func CompressZIP(src, dst string) error
- func DetectArchiveFormat(filename string) (string, error)
- func EstimateCompressionSize(src string, format string) (uint64, error)
- func ExtractBZIP2(src, dst string) error
- func ExtractGZIP(src, dst string) error
- func ExtractTAR(src, dst string) error
- func ExtractXZ(src, dst string) error
- func ExtractZIP(src, dst string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressBZIP2 ¶
CompressBZIP2 compresses a file using BZIP2 format
func CompressGZIP ¶
CompressGZIP compresses a file using GZIP format
func CompressTAR ¶
CompressTAR creates a TAR archive from the given source directory or file
func CompressXZ ¶
CompressXZ compresses a file using XZ format
func CompressZIP ¶
CompressZIP creates a ZIP archive from a given source directory or file
func DetectArchiveFormat ¶
DetectArchiveFormat determines the archive format using magic numbers and file extension
func EstimateCompressionSize ¶
EstimateCompressionSize provides an approximate compressed size for a given source.
func ExtractTAR ¶
ExtractTAR extracts a TAR archive to the given destination
func ExtractZIP ¶
ExtractZIP extracts a ZIP archive to the given destination
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.