Documentation ¶
Index ¶
- func Unzip(reader io.ReaderAt, size int64, dir string) error
- func UnzipFile(zipFile string, dir string) error
- func ZipDir(dir string, file string) error
- func ZipIntoWriter(dir string, writer io.Writer) error
- type Zipper
- func (z *Zipper) Close() error
- func (z *Zipper) CompressDir(dir string) error
- func (z *Zipper) CompressFile(filename string, base string) error
- func (z *Zipper) CompressFileInfoAndContent(name string, info os.FileInfo, data []byte) error
- func (z *Zipper) CompressFileWithInfo(filename string, base string, info os.FileInfo) error
- func (z *Zipper) CompressFileWithInfoAndReader(name string, info os.FileInfo, reader io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Zipper ¶
type Zipper struct {
// contains filtered or unexported fields
}
func (*Zipper) CompressDir ¶
func (*Zipper) CompressFileInfoAndContent ¶
func (*Zipper) CompressFileWithInfo ¶
Click to show internal directories.
Click to hide internal directories.