Documentation ¶
Index ¶
- func AbsPath(pth string) (string, error)
- func CurrentWorkingDirectoryAbsolutePath() (string, error)
- func EnsureDirExist(dir string) error
- func IsDirExists(pth string) (bool, error)
- func IsPathExists(pth string) (bool, error)
- func IsRelativePath(pth string) bool
- func NormalizedOSTempDirPath(tmpDirNamePrefix string) (retPth string, err error)
- func UserHomeDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentWorkingDirectoryAbsolutePath ¶
CurrentWorkingDirectoryAbsolutePath ...
func NormalizedOSTempDirPath ¶
NormalizedOSTempDirPath ... Returns a temp dir path. If tmpDirNamePrefix is provided it'll be used
as the tmp dir's name prefix.
Normalized: it's guaranteed that the path won't end with '/'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.