Documentation
¶
Index ¶
- Variables
- func Base[T ~string](path T) string
- func Dir[T ~string](path T) string
- func DirEnsure(path string) error
- func DirEnsureWithConfig(path string, config DirConfig) error
- func GetDirs(root string) ([]string, error)
- func GetFiles(root string) ([]string, error)
- func GetPaths(root string) ([]string, error)
- func IsDir[T ~string](path T) (bool, error)
- func IsFile[T ~string](path T) (bool, error)
- func IsFileErr[T ~string](path T) error
- func Join[T ~string](elems ...T) string
- func PathExists(path string) bool
- func PathExistsErr(path string) (bool, error)
- 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 ¶
Functions ¶
func DirEnsureWithConfig ¶
func PathExists ¶
func PathExistsErr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.