tar

package module
v0.0.0-...-49cf6b9 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2014 License: LGPL-3.0 Imports: 10 Imported by: 0

README

juju/tar

This package provides functions to tar/untar /targz/untargz files.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TarFiles

func TarFiles(fileList []string, targetPath, strip string, compress bool) (shaSum string, err error)

TarFiles creates a tar archive at targetPath holding the files listed in fileList. If compress is true, the archive will also be gzip compressed.

func UntarFiles

func UntarFiles(tarFile, outputFolder string, compressed bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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