targz

package
v0.0.0-...-c600a59 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GZip

func GZip(src, dst string, rateLim int64) error

func GetGZipFileWriter

func GetGZipFileWriter(filePath string, gZip bool, rateLim int64) (io.WriteCloser, error)

func Tar

func Tar(o TarOpts) error

Types

type Error

type Error struct {
	Err    error
	Stderr string
}

func (Error) Error

func (e Error) Error() string

type TarOpts

type TarOpts struct {
	Src         string
	Dst         string
	Incremental bool
	Gzip        bool
	SaveAbsPath bool
	RateLim     int64
	Excludes    []string
}

Jump to

Keyboard shortcuts

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