Documentation ¶ Index ¶ func Compress(source string, w io.Writer, relPath bool) error func Decompress(dest string, r io.Reader) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Compress ¶ func Compress(source string, w io.Writer, relPath bool) error Compress a folder to a provided io.Writer buffer as a .tar.gz. RelPath is used to define if the paths in the .tar.gz are relative to the folder or absolutes. func Decompress ¶ func Decompress(dest string, r io.Reader) error Types ¶ This section is empty. Source Files ¶ View all Source files compress.go decompress.go Click to show internal directories. Click to hide internal directories.