tar

package
v0.0.0-...-5989d0e Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigTar

func BigTar(sourceDir, target string) error

BigTar accepts a source directory and tars it to the target file. Target file should not exist. This method can handle big source directories as well.

func Tar

func Tar(sourceDir, target string) error

Tar accepts a source directory and tars it to the target file. Target file should not exist.

func UnTar

func UnTar(tarball, targetDir string) error

UnTar accepts the tarball file name and untars the file to a target destination (which already exists)

Types

This section is empty.

Jump to

Keyboard shortcuts

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