Documentation ¶
Index ¶
- func Base(path string) string
- func CleanDir(path string) string
- func Cleanse(path string) string
- func Dir(path string) string
- func DirCleanse(dir string) string
- func FileCleanse(filename string) string
- func FileNoExt(filepath string) string
- func FileRewrite(filename string) string
- func Split(path string) (dir, file string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirCleanse ¶ added in v1.5.11
仅仅针对目录名,Removed unsupported characters
func FileCleanse ¶ added in v1.5.11
仅仅针对文件名,Removed unsupported characters
func FileRewrite ¶ added in v1.5.11
windows需要,由于linux的文件也要放到windows看,统一处理
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.