Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseAndDelete ¶
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.
Click to show internal directories.
Click to hide internal directories.