Documentation ¶
Index ¶
- func AppendStringToFile(content string, filePath string) error
- func Exist(path string) (existed bool, isDir bool)
- func Exists(path string) (existed bool)
- func GetDirList(path string) ([]string, error)
- func GetDirListWithFilter(path string, filter Filter) ([]string, error)
- func GetFilepaths(dir string) ([]string, error)
- func Mode(path string) os.FileMode
- func RecreateDir(dir string) error
- func WriteStringToFile(content, path string, mode os.FileMode) (err error)
- type File
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendStringToFile ¶
AppendStringToFile append string to file
func GetDirListWithFilter ¶
GetDirListWithFilter get directory list with filter
func GetFilepaths ¶
GetFilepaths get all filepaths in a directory tree
Types ¶
Click to show internal directories.
Click to hide internal directories.