zip

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2017 License: MIT Imports: 3 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 New

func New(target *os.File) Archive

New zip archive

func (Archive) Add

func (a Archive) Add(name, path string) (err 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