utils

package
v1.3.2-0...-808ebe2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDirectoryContentsSame

func AssertDirectoryContentsSame(t *testing.T, expectedDir string, dataDir string)

AssertDirectoryContentsSame compares two directories using diff command.

func CopyRecursive

func CopyRecursive(src string, target string) error

CopyRecursive dir or file.

func DirSize

func DirSize(path string) (datasize.ByteSize, error)

func FileExists

func FileExists(path string) (bool, error)

FileExists returns true if file exists.

func Mkdir

func Mkdir(path string) error

Mkdir creates dir if not exists.

func RemoveSpaces

func RemoveSpaces(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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