pack

package
v0.0.0-...-fecf105 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2014 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(c *cli.Context)

Types

type Archiver

type Archiver interface {
	Add(filename string) error
	Close() error
}

type Tar

type Tar struct {
	*tar.Writer
}

func CreateTar

func CreateTar(filename string) (*Tar, error)

func NewTarWriter

func NewTarWriter(wr io.WriteCloser) *Tar

func (*Tar) Add

func (t *Tar) Add(filename string) error

type Tgz

type Tgz struct {
	*Tar
	// contains filtered or unexported fields
}

func CreateTgz

func CreateTgz(filename string) (*Tgz, error)

func (*Tgz) Close

func (t *Tgz) Close() error

type Zip

type Zip struct {
	*zip.Writer
}

func CreateZip

func CreateZip(filename string) (*Zip, error)

func (*Zip) Add

func (z *Zip) Add(filename string) error

Jump to

Keyboard shortcuts

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