Documentation ¶
Index ¶
- Variables
- func BasePaths(src string) string
- func CleanPaths(src string) string
- func CopyAll(src, dst string) error
- func DirPath(src string) string
- func Ext(src string) string
- func GetRunPath() (r string)
- func IsDir(path string) bool
- func IsExist(path string) bool
- func IsFile(path string) bool
- func JoinPaths(v ...string) string
- func Mkdir(path string, mode ...fs.FileMode) error
- func ReadDir(path string) (f []string)
- func ReadDirAll(path string) (f []string)
- func ReadDirRaw(r string) ([]fs.DirEntry, error)
- func SplitPath(src string) (string, string)
- type FS
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotExist error = errors.New("no file/folder found")
)
Functions ¶
func CleanPaths ¶ added in v1.5.0
func GetRunPath ¶ added in v1.4.0
func GetRunPath() (r string)
func ReadDirAll ¶ added in v1.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.