tar

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2016 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(rel, target string) (string, string, error)

Archive takes a source and target directory and returns a filename and/or error. The source will be archived relative to the target. The file will live in the user's os.TempDir().

func SumReader added in v0.3.3

func SumReader(reader io.Reader) (string, error)

SumReader sums an io.Reader

func SumWithCopy added in v0.3.3

func SumWithCopy(writer io.WriteCloser, reader io.Reader, fileType string) (string, error)

SumWithCopy simultaneously sums and copies a stream.

Types

This section is empty.

Jump to

Keyboard shortcuts

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