fs

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
}

func (*FS) AddFileToTar added in v0.0.6

func (*FS) AddFileToTar(tw *tar.Writer, name string, contents *os.File) error

func (*FS) AddTextToTar added in v0.0.6

func (*FS) AddTextToTar(tw *tar.Writer, name string, contents []byte) error

func (*FS) CreateSingleFileTar

func (*FS) CreateSingleFileTar(path, txt string) (io.Reader, error)

func (*FS) CreateTarFile added in v0.0.6

func (*FS) CreateTarFile(tarFile, srcDir, tarDir string, uid, gid int) error

func (*FS) CreateTarReader

func (*FS) CreateTarReader(srcDir, tarDir string, uid, gid int) (io.Reader, chan error)

func (*FS) Untar

func (*FS) Untar(r io.Reader, dest string) error

Jump to

Keyboard shortcuts

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