Documentation
¶
Index ¶
- func Compress(inPath, outPath string, bufferSize int) (*os.File, error)
- func SingleFileTarball(filename string, writers ...io.Writer) error
- func Tarball(src string, options *Options, writers ...io.Writer) error
- func Zip(zipMethod ZipMethod, source, target string, files ...string) (*os.File, error)
- func ZipDir(archive *zip.Writer, source string, _ ...string) error
- func ZipFile(archive *zip.Writer, source string, files ...string) error
- type FileOptions
- type Options
- type ZipMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SingleFileTarball ¶
create a tarball of a single file
Types ¶
type FileOptions ¶
FileOptions declares changes to be made to individual files when walking a directory
type Options ¶
type Options struct {
FileOptions
}
Options declares overrides to be made to files while creating the tarball.
Click to show internal directories.
Click to hide internal directories.