tar

package
v13.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 8 Imported by: 6

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, gzcompress, xzcompress 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