tar

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: Apache-2.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	Create(string) error
	Close() error
	Writer
}

func New

func New(name string) (File, error)

type TarFile

type TarFile struct {
	// contains filtered or unexported fields
}

func (*TarFile) AddAll

func (t *TarFile) AddAll(path string) error

func (*TarFile) AddFile

func (t *TarFile) AddFile(path, filename string) error

func (*TarFile) Close

func (t *TarFile) Close() error

func (*TarFile) Create

func (t *TarFile) Create(name string) error

type Writer

type Writer interface {
	AddFile(string, string) error
	AddAll(string) error
}

Jump to

Keyboard shortcuts

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