archive

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NormalizedDateTime time.Time

Functions

func CreateSingleFileTar

func CreateSingleFileTar(tarFile, path, txt string) error

func CreateSingleFileTarReader

func CreateSingleFileTarReader(path, txt string) (io.Reader, error)

func CreateTarReader

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

func ExtractTar

func ExtractTar(r io.Reader, dest string) error

func ExtractTarGZ

func ExtractTarGZ(r io.Reader, dest string) error

func WriteDirToTar added in v0.2.0

func WriteDirToTar(tw *tar.Writer, srcDir, tarDir string, uid, gid int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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