zip

package
v0.0.0-...-3b99b25 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT 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 archiveFile.Entry) 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