package
0.20.4
Repository: https://github.com/keptn/go-utils.git
Documentation: pkg.go.dev

# Functions

ExpandTilde expands the tilde symbol (~) to the user's home directory This function is also useful for expanding file paths like "~/a/b/c".
FileExists checks if the file with the gieven name exists.
ReadFile reads a file with the given file name and returns its content as a slice of bytes.
ReadFileAsStr does the same thing as ReadFile but ruturns the content of the file as a string.
UserHomeDir returns the user's home directory.