zip

package
v1.18.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 8 Imported by: 8

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 added in v1.17.0

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 config.File) 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