Documentation
¶
Overview ¶
Package tar contains helper functions for working with tar files
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ExtractFile ¶ added in v0.2.0
ExtractFile extracts the file described by hdr from the given tarball into the provided directory. If overwrite is true, existing files will be overwritten.
func ExtractFileFromTar ¶ added in v0.2.0
ExtractFileFromTar extracts a regular file from the given tar, returning its contents as a byte slice
Types ¶
Click to show internal directories.
Click to hide internal directories.