Documentation ¶
Index ¶
- func AbsolutePath(datadir string, filename string) string
- func EachChildFile(directory string, process func(path string) (bool, error)) error
- func EachDirectory(directory string, process func(path string) (bool, error)) error
- func EnsureDir(dir string)
- func EnsureFile(filePath string)
- func IsDirExists(path string) bool
- func IsEmptyDir(directory string) bool
- func IsFileExists(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsolutePath ¶
func EachChildFile ¶
EachChildFile get child fi and process ,if get error after processing stop, if get a stop flag , stop
func EachDirectory ¶
func EnsureFile ¶
func EnsureFile(filePath string)
func IsDirExists ¶
func IsEmptyDir ¶
func IsFileExists ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.