Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeTarball ¶
DecodeTarball takes a reader and a base directory, and extracts a gzipped tarball rooted on the given directory. If there is an error, the imput may only be partially consumed. At the moment, the tarball decoder only supports directories, regular files and symlinks.
func DirToTarball ¶ added in v0.51.0
DirToTarball tars up an entire directory and outputs the tarball to the specified output path. If useGzip is true, it also gzips the resulting tarball.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.