Documentation
¶
Overview ¶
Package archive implements the Gzip interface providing gz archiving and compression.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
Archive represents a compression archive files from disk can be written to.
type File ¶
type File struct {
Source string `yaml:"src,omitempty" json:"src,omitempty"`
Destination string `yaml:"dst,omitempty" json:"dst,omitempty"`
StripParent bool `yaml:"strip_parent,omitempty" json:"strip_parent,omitempty"`
Info FileInfo `yaml:"info,omitempty" json:"info,omitempty"`
Default bool `yaml:"-" json:"-"`
}
type FileInfo ¶
type FileInfo struct {
Owner string `yaml:"owner,omitempty" json:"owner,omitempty"`
Group string `yaml:"group,omitempty" json:"group,omitempty"`
Mode os.FileMode `yaml:"mode,omitempty" json:"mode,omitempty"`
MTime time.Time `yaml:"mtime,omitempty" json:"mtime,omitempty"`
ParsedMTime time.Time `yaml:"-" json:"-"`
}
FileInfo is the file info of a file.
type Tar ¶
type Tar struct {
// contains filtered or unexported fields
}
Tar as tar.
Click to show internal directories.
Click to hide internal directories.