# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewXzReader shells out to a command line xz executable (if available) to decompress the given io.Reader using the xz compression format and returns an *XzReader.
No description provided by the author
SelectivelyExtractArchive extracts the specified files and folders from targz data read from the given reader and store them in a map indexed by file paths.
No description provided by the author
func SelectivelyExtractToFile(r io.Reader, prefix string, toExtract []string, dir string) (map[string]string, error) {.
No description provided by the author
Unzip will decompress a zip archive, moving all files and folders within the zip file (parameter 1) to an output directory (parameter 2).
# Variables
ErrCouldNotExtract occurs when an extraction fails.
No description provided by the author
ErrExtractedFileTooBig occurs when a file to extract is too big.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
TarReadCloser embeds a *tar.Reader and the related io.Closer It is the caller's responsibility to call Close on TarReadCloser when done.
No description provided by the author
No description provided by the author
XzReader is an io.ReadCloser which decompresses xz compressed data.