Documentation
¶
Index ¶
Constants ¶
View Source
const ( BYTE int = 1 KB = 1024 * BYTE MB = 1024 * KB GB = 1024 * MB )
Data size definition
Variables ¶
This section is empty.
Functions ¶
func Decompress ¶
func Decompress(src string, dst string, format CompressFormat) error
Types ¶
type CompressFormat ¶
type CompressFormat int
const ( CompressFormatGzip CompressFormat = iota CompressFormatZstd CompressFormatDirectory )
func (CompressFormat) String ¶
func (c CompressFormat) String() string
Click to show internal directories.
Click to hide internal directories.