Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile will download a url to a local file
func ExtractFiles ¶
func ExtractFiles(archivePath, destination string, filesToExtract []string, patternToExtract string, stripPath bool) ([]string, error)
ExtractFiles will extract a list of files from given archive to a destination that must be a directory
if filesToExtract list is nil and patternToExtract is empty, all files will be extracted
if destination does not exist, a directory will be created
func WriteExtractedFile ¶
WriteExtractedFile writes extracted file to destination
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.