Documentation ¶
Index ¶
- func CopyDir(srcDir, dstDir string, createIfNotExists bool) error
- func DirExists(dirPath string) bool
- func FileExists(filePath string) bool
- func IsDir(filePath string) bool
- func IsSafeFilePath(filePath string) bool
- func ListFiles(filePath string, recursive bool) ([]string, error)
- func ReadFileToLines(filePath string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func IsSafeFilePath ¶
func ListFiles ¶
ListFiles get all files in the directory specified. if the param recursive is true, it will be get all files recusively, else just get files in current dir.
func ReadFileToLines ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.