Documentation ¶
Overview ¶
Package archive provides archiving and files compressing using Tar-GZ or Zip formmat.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTarballBytes ¶
CreateTarballBytes archives a file or directory src using Tar and Gzip compression. basePath param specify the base path directory of src path which will be skipped for each archive file header. Otherwise if basePath param is empty then only src path will taken into account.
func CreateZipballBytes ¶
CreateZipballBytes archives a file or directory (src path) using Zip. basePath param specify the base path directory of src path which will be skipped for each archive file header. Otherwise if basePath param is empty then only src path will taken into account.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.