Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveWriteFunc ¶
ArchiveWriteFunc is the closure used by an archive's AddAll method to actually put a file into an archive Note that for directory entries, this func will be called with a nil 'file' param
type Archivex ¶
type Archivex interface { Create(name string) error CreateWriter(name string, w io.Writer) error AddFile(path string, file io.ReadSeeker) error AddDirectory(path string) error Close() error }
interface
type TarFile ¶
type TarFile struct { Writer *tar.Writer Name string GzWriter *gzip.Writer Compressed bool // contains filtered or unexported fields }
TarFile implement *tar.Writer
func (*TarFile) AddDirectory ¶
Click to show internal directories.
Click to hide internal directories.