archive

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMaxSizeExceeded = errors.New("file size exceeds the maximum limit of 1 GB")

Functions

func Gzip

func Gzip(srcDir string, destTar string) error

Gzip compresses the files in the srcDir directory and writes the compressed data to the destTar file.

func UnGzip

func UnGzip(srcTarGz string) error

UnGzip decompresses the .tar.gz file specified by srcTarGz and unpacks it to a temporary directory. It then sets the temporary directory as the current working directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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