package
0.20.0
Repository: https://github.com/simplesurance/baur.git
Documentation: pkg.go.dev

# Functions

DirsExist runs DirExists for multiple paths.
FileExists returns true if path exist and is a file.
FileReadLine reads the first line from a file.
FileSize returns the size of a file in Bytes.
FindFileInParentDirs finds a directory that contains filename.
FindFilesInSubDir returns all directories that contain filename that are in searchDir.
IsDir returns true if the path is a directory.
IsFile returns true if path is a file.
IsRegularFile returns true if path is a regular file.
Mkdir creates recursively directories.
PathsJoin returns a list where all paths in relPaths are prefixed with rootPath.
SameFile calls os.Samefile(), if one of the files does not exist, the error from os.Stat() is returned.