Documentation
¶
Overview ¶
Package zipper provides zipper utility methods.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Zipper ¶
type Zipper interface {
NewWriter(io.Writer) *zip.Writer
FileInfoHeader(fs.FileInfo) (*zip.FileHeader, error)
CreateHeader(*zip.Writer, *zip.FileHeader) (io.Writer, error)
Close(*zip.Writer) error
}
Zipper is an interface is a testable version of archive/zip library. Callers can create their own implementation in the mocks in the unit tests.
Click to show internal directories.
Click to hide internal directories.