tar

package
v9.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package tar implements a tarball writer for Please. This is not really dissimilar to the standard command-line tar utility, but we would like some of the GNU tar flags which we can't rely on for all platforms that we support, plus we'd like finer control over timestamps and directories.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(output string, srcs []string, prefix string, compress bool) error

Write writes a tarball to output with all the files found in inputDir. If prefix is given the files are all placed into a single directory with that name. If compress is true the output will be gzip-compressed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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