global_util

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RuckstackVersion = "0.9.0"
)

Functions

func GetSourceRoot

func GetSourceRoot() string

* Returns the source root. Panic's if used outside a test

func IsRunningTests

func IsRunningTests() bool

func TarDirectory

func TarDirectory(sourceDir string, targetFilename string, compress bool) error

func UntarFile

func UntarFile(sourceFilePath string, targetDir string, compressed bool) error

func Unzip

func Unzip(zipContent *zip.ReadCloser, outputDir string) (err error)

func UnzipFile

func UnzipFile(zipFile string, outputDir string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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