Documentation
¶
Index ¶
- func CreateDirs(path string, checkIfDirExist bool) error
- func DeleteDirs(path string) error
- func DeleteFile(path string) error
- func DirExist(path string) bool
- func FileExist(path string) bool
- func PathStartsWithPathSymbol(path string) bool
- func ReadFile(path string) ([]byte, error)
- func StringContainsPathSymbols(str string) bool
- func WriteToFile(path string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDirs ¶
CreateDirs creates dirs even if the parent dir doesn't exist. (It uses 750 permissions)
func DeleteDirs ¶
DeleteDirs deletes dirs even if the parent dir doesn't exist.
func DeleteFile ¶
func WriteToFile ¶
WriteToFile writes content to filePath. (It uses 600 permissions)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.