zipx

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DuplicatePaths added in v1.3.6

func DuplicatePaths(files []*zip.File) []string

DuplicatePaths returns sorted duplicate entry names in a zip archive.

func WriteDeterministicZip

func WriteDeterministicZip(w io.Writer, files []File) error

WriteDeterministicZip writes a byte-stable zip to the provided writer.

Types

type File

type File struct {
	Path string
	Data []byte
	Mode os.FileMode
}

Jump to

Keyboard shortcuts

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