Documentation ¶
Index ¶
- func CreateTar(destination io.Writer, source string) error
- func CreateTarGz(destination io.Writer, source string) error
- func Extract(source io.Reader, destination string, stripComponents int) error
- func ExtractTar(source io.Reader, destination string, stripComponents int) errordeprecated
- func ExtractTarBz2(source io.Reader, destination string, stripComponents int) errordeprecated
- func ExtractTarGz(source io.Reader, destination string, stripComponents int) errordeprecated
- func ExtractTarXz(source io.Reader, destination string, stripComponents int) errordeprecated
- func ExtractZip(source io.Reader, destination string, stripComponents int) errordeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTar ¶
CreateTar writes a TAR to the destination io.Writer containing the directories and files in the source folder.
func CreateTarGz ¶
CreateTarGz writes a GZIP'd TAR to the destination io.Writer containing the directories and files in the source folder.
func Extract ¶
Extract decompresses and extract source files to a destination directory or path. For archives, an arbitrary number of top-level directory components can be stripped from each path.
func ExtractTarBz2
deprecated
func ExtractTarGz
deprecated
func ExtractTarXz
deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.