Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archiver ¶
type Archiver struct {
// contains filtered or unexported fields
}
Archiver is the struct able to create an archive
func NewArchiver ¶
func NewArchiver(files []string, w walker.Walker, d downloader.Downloader, config Config) (*Archiver, error)
NewArchiver creates a new archiver able to create an archive containing the files in the list
type ErrEmptyList ¶
type ErrEmptyList struct{}
ErrEmptyList is the error returned when an empty list is passed when an archiver is created
func (ErrEmptyList) Error ¶
func (ErrEmptyList) Error() string
Error returns the string error msg for ErrEmptyList
type ErrMaxFileCount ¶
type ErrMaxFileCount struct{}
ErrMaxFileCount is the error returned when the max files count specified in the config has reached
func (ErrMaxFileCount) Error ¶
func (ErrMaxFileCount) Error() string
Error returns the string error msg for ErrMaxFileCount
type ErrMaxSize ¶
type ErrMaxSize struct{}
ErrMaxSize is the error returned when the max total files size specified in the config has reached
func (ErrMaxSize) Error ¶
func (ErrMaxSize) Error() string
Error returns the string error msg for ErrMaxSize
Click to show internal directories.
Click to hide internal directories.