Versions in this module Expand all Collapse all v1 v1.3.8 Aug 17, 2022 v1.3.7 Jul 11, 2022 Changes in this version + const Separator + func AbsPath(path string) (string, error) + func BaseName(path string) string + func Exists(path string) bool + func FileExt(path string) string + func FileFilter(fileList *list.List, ext string, hasExt bool) *list.List + func GetFilesAndDirectories(root string) (*list.List, *list.List, error) + func IsDir(path string) bool + func IsFile(path string) bool + func IsReadableDirectory(path string) bool + func IsReadableFile(path string) bool + func MoveFile(file1, file2 string) error + func ParentPath(path string) string + func ReadDir(path string) ([]os.DirEntry, error) + func SaveFile(path string, data []byte) error + func ScanPath(root string, fn SkipFunc) (*list.List, error) + func SkipDir(info os.FileInfo) bool + func SkipFile(info os.FileInfo) bool + func Visit(root string, visitFunc VisitFunc, visitOpt VisitOpt) + type SkipFunc func(info os.FileInfo) bool + type VisitFunc func(path string) + type VisitOpt struct + Recurse bool