Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archiver ¶
type Archiver interface { // OutputZipToFile zips filepaths and directories in projectPath and output it to designated path destination. OutputZipToFile(projectPath, outputPath string, filepaths []string) error // OutputZipToIOReader zips filepaths and directories in projectPath and output it to io.Reader to be consumed later. OutputZipToIOReader(projectPath string, filepaths []string) (io.Reader, error) }
Archiver defines methods for archiving file / directory.
Click to show internal directories.
Click to hide internal directories.