zip

package
v1.9.18 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Zlib Imports: 8 Imported by: 0

Documentation

Overview

Package zip implements the Archive interface providing zip archiving and compression.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	// contains filtered or unexported fields
}

Archive zip struct.

func Copying

func Copying(source *os.File, target io.Writer) (Archive, error)

New zip archive.

func New

func New(target io.Writer) Archive

New zip archive.

func (Archive) Add

func (a Archive) Add(f fileconfig.File, stream ...fileconfig.ReaderStream) error

Add a file to the zip archive.

func (Archive) Close

func (a Archive) Close() error

Close all closeables.

Jump to

Keyboard shortcuts

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