utils

package
v0.0.0-...-b5d19b8 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckTestingErr

func CheckTestingErr(t *testing.T, err error)

func CreateTempFile

func CreateTempFile(t *testing.T, fPath string)

Create a temporary environment for testing

func DoesExist

func DoesExist(path string) bool

Ensure that a file or folder exists

func RemoveTempFile

func RemoveTempFile(t *testing.T, fName string)

Remove the temporary environment for testing

func ReplaceRoot

func ReplaceRoot(path string) string

Replace ~ in a path to actual root path

Types

This section is empty.

Jump to

Keyboard shortcuts

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