Documentation
¶
Index ¶
- func DirEnsure(path string) error
- func DirEnsureWithConfig(path string, config DirConfig) error
- func Ext(path string) string
- func GetDirs(root string) ([]string, error)
- func GetFiles(root string) ([]string, error)
- func GetPaths(root string) ([]string, error)
- func IsDir(path string) bool
- func IsDirErr(path string) (bool, error)
- func IsFile(path string) bool
- func IsFileErr(path string) (bool, error)
- func NormalizeExt(ext string) string
- func PathExists(path string) bool
- func PathExistsErr(path string) (bool, error)
- func SwapExt(path, oldExt, newExt string) string
- func WalkDirs(root string, filterFn func(string, fs.FileInfo) bool, ...) error
- func WalkFiles(root string, filterFn func(string, fs.FileInfo) bool, ...) error
- func WalkPaths(root string, filterFn func(string, fs.FileInfo) bool, ...) error
- type DirConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirEnsureWithConfig ¶
func NormalizeExt ¶
func PathExists ¶
func PathExistsErr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.