Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromPath ¶
From a file or dir path returns an array of flat file paths pattern is a filepath.Match pattern to limit files to a pattern
func UnTar ¶
UnTar untars a tar or tgz file into the dest folder. dest is the folder location io.Reader is a reader that is tar (or compressed tar) format compressed is true if reader is a compressed format
func UntarInPlace ¶
UntarInPlace untars a .tar file using the same name as the file as the sub-folder name in the folder it was referenced in. i.e., /opt/foo.tar will land in /opt/foo supports tar and tgz file formats
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.