Documentation ¶
Index ¶
Constants ¶
View Source
const (
Slash = "/"
)
Variables ¶
This section is empty.
Functions ¶
func CreateDirIfNotExist ¶
Create dir recursively if not exist Note: input argument must be a dirPath
func IsFileOrDirExist ¶
IsFileOrDirExist checks whether a file or a dir exists
func OutDir ¶
OutDir returns an absolute representation of path after dir check Returns absolute path including trailing '/' or error if path does not exist.
func RenamePath ¶
RenamePath renames (moves) oldPath to newPath, and creates needed directories in newPath If newPath already exists, RenamePath will return an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.