tarpack

package
v1.0.0-beta.0...-f3096b2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pack

func Pack(root string, entries ...string) io.ReadCloser

Pack returns a reader that produces bytes of a tar archive produced by packing the entries under root. The names are always sorted.

func Unpack

func Unpack(root string, reader *tar.Reader) error

Unpack unpacks a tar.Reader into the given root directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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