archiver

package
v0.0.0-...-8fd7b55 Latest Latest
Warning

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

Go to latest
Published: May 19, 2014 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownArchiverType = errors.New("Unknown archiver type")
	ErrNoArtifacts         = errors.New("No artifacts found")
)

Functions

This section is empty.

Types

type Archiver

type Archiver interface {
	Archive(srcDir string) (archive *os.File, err error)
}

func New

func New(typ ArchiverType, opts Options) (Archiver, error)

type ArchiverType

type ArchiverType string
const (
	TgzArchiverType ArchiverType = "tar.gz"
)

type Options

type Options interface {
	Verbose() bool
	Dry() bool
}

Jump to

Keyboard shortcuts

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