Documentation ¶
Overview ¶
Package compress provides the compress and uncompress functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bzip2 ¶ added in v0.0.49
type Bzip2 struct {
// contains filtered or unexported fields
}
Bzip2 implements a compress which based is based on bzip2
func (*Bzip2) ExtractFiles ¶ added in v0.0.49
ExtractFiles extracts files from a target compress file
type Compress ¶
Compress is a common compress interface
func GetCompressor ¶ added in v0.0.46
GetCompressor gets the compressor base on file extension
type GZip ¶
type GZip struct {
// contains filtered or unexported fields
}
GZip implements a compress which based is based on gzip
func (*GZip) ExtractFiles ¶
ExtractFiles extracts files from a target compress file
type Xz ¶ added in v0.0.45
type Xz struct {
// contains filtered or unexported fields
}
Xz implements a compress which based is based on xz
func (*Xz) ExtractFiles ¶ added in v0.0.45
ExtractFiles extracts files from a target compress file
type Zip ¶ added in v0.0.46
type Zip struct {
// contains filtered or unexported fields
}
Zip implements a compress which is base on zip file
func (*Zip) ExtractFiles ¶ added in v0.0.46
ExtractFiles extracts files from a target compress file
Click to show internal directories.
Click to hide internal directories.