Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archiver ¶
type Archiver interface { Compress(dirPath string) (io.ReadCloser, error) Decompress(reader io.Reader, dirPath string) error }
Archiver compresses and decompresses a directory.
func NewTarArchiver ¶
func NewTarArchiver(opts ArchiverOptions) Archiver
NewTarArchiver returns a new Archiver for tar.
Click to show internal directories.
Click to hide internal directories.