tar

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(rel, target 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 SumFile

func SumFile(fn, fileType string) (string, error)

SumFile reads a file an returns a hex-encoded sha512/256.

Types

This section is empty.

Jump to

Keyboard shortcuts

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