tarfile

package
v2.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	PathToTarFile string
	// contains filtered or unexported fields
}

func NewWriter

func NewWriter(pathToTarFile string) *Writer

func (*Writer) AddToArchive

func (writer *Writer) AddToArchive(filePath, pathWithinArchive string) error

Adds a file to a tar archive.

func (*Writer) Close

func (writer *Writer) Close() error

func (*Writer) Open

func (writer *Writer) Open() error

Jump to

Keyboard shortcuts

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