tgzstream

package
v2.10.9 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAndDelete

func CloseAndDelete(f *os.File)

func CompressFiles

func CompressFiles(appPath string, included []string, excluded []string) (*os.File, int, string, error)

CompressFiles will create a tgz file with all contents of appPath directory excluding globs in the excluded array. Returns the file alongside its sha256 hash to be used as checksum. It is the responsibility of the caller to close the file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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