compress

package
v0.0.102 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateMultiSha256Digest

func CalculateMultiSha256Digest(multifile []string) (string, error)

func CalculateSha256Digest

func CalculateSha256Digest(outFile io.ReadCloser) string

func CompressFolder

func CompressFolder(fromPath string) (string, error)

Efficiently Tar and Gzip a folder

func CopyFile

func CopyFile(src *os.File, dst *os.File) error

func DecompressFolder

func DecompressFolder(targzFilePath string, outputDirectory string) error

func TarFile

func TarFile(src []string, dst []string) (string, error)

Creates a tar from a file

func TarFolder

func TarFolder(fromPath string) (string, error)

Creates a tar from a folder

func TarToGz

func TarToGz(tarFilePath string) (string, error)

Applies a gzip compression to a tar file

Types

This section is empty.

Jump to

Keyboard shortcuts

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