Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TarFileMode = os.FileMode(0755)
Functions ¶
Types ¶
type Archive ¶
type Archive struct { //config DirMaxSize int64 //defaults to no limit (-1) DirMaxFiles int //defaults to no limit (-1) // contains filtered or unexported fields }
Archive** combines Go's archive/zip,tar into a simpler, higher-level API
func NewTarGzWriter ¶
func NewTarWriter ¶
func NewWriter ¶
NewWriter is useful when you'd like a dynamic archive type using a filename with extension
func NewZipWriter ¶
func (*Archive) AddInfoFile ¶
You can prevent archive from performing an extra Stat by using AddInfoFile instead of AddFile
Click to show internal directories.
Click to hide internal directories.