compression

package
v2.0.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreAllPathsEmpty

func AreAllPathsEmpty(includePaths []string) bool

AreAllPathsEmpty checks if the provided paths are all nonexistent files or empty directories

func Compress

func Compress(archivePath string, includePaths []string, logger log.Logger, envRepo env.Repository) error

Compress creates a compressed archive from the provided files and folders using absolute paths.

func Decompress

func Decompress(archivePath string, logger log.Logger, envRepo env.Repository, additionalArgs ...string) error

Decompress takes an archive path and extracts files. This assumes an archive created with absolute file paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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