compress

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gunzip

func Gunzip(data []byte) ([]byte, error)

Gunzip will unzip data and return buffer inline

func TarGz added in v0.0.57

func TarGz(srcDir string, outfile *os.File) error

func TarGzipDir added in v0.0.71

func TarGzipDir(srcDir string) (string, error)

TarGzipDir will tar and gzip a directory and return the path to the file. You must delete the file when done.

Types

This section is empty.

Jump to

Keyboard shortcuts

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