Documentation
¶
Overview ¶
Package archive is a utility that allows for simple archiving of files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Archiver ¶
type Archiver interface {
// New produces a new instance of this method.
New(errs.Testing, io.Writer) Writer
}
Archiver is implemented by a compression method.
type Entry ¶
Entry is a file or folder in the archive. Files are defined by `Entry[[]byte]` or `Entry[io.Reader]`. Folders are defined by `Entry[[]FileHeader]`.
func (Entry[C]) EntryContent ¶
func (bce Entry[C]) EntryContent() C
type FileHeader ¶
type FileHeader interface {
EntryName() string
EntryTime() time.Time
// contains filtered or unexported methods
}
FileHeader is an interface for all files in the archive.
Click to show internal directories.
Click to hide internal directories.