compress

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gunzip

func Gunzip(r io.ReadCloser, w io.WriteCloser) error

Gunzip will decompress the given data in r using the gzip compression algorithm and write it to w.

func Gzip

func Gzip(r io.ReadCloser, w io.WriteCloser) error

Gzip will compress the given data in r using the gzip compression algorithm and write it to w.

func Tar

func Tar(rootPath string, w io.WriteCloser) error

Tar will write a tarball to w of the directory specified by rootPath.

func Untar

func Untar(rootPath string, r io.ReadCloser) error

Untar will extract the given tarball data in r to the directory specified by rootPath.

Types

This section is empty.

Jump to

Keyboard shortcuts

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