zipper

package
v0.0.0-...-64b59c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL