Documentation ¶
Index ¶
- func Basename(path, suffix string) string
- func Chmod(fileName string, model os.FileMode) bool
- func Chown(fileName string, uid int, gid int) bool
- func Copy(source string, dest string) bool
- func Delete(path string) bool
- func Dirname(path string) string
- func File_exits(path string) bool
- func File_exits_detail(path string) (bool, error)
- func File_get_contents(filename string) string
- func File_get_contents_detail(filename string) (string, error)
- func Filemtime(path string) int64
- func Mkdir(path string, model os.FileMode, recursive bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chown ¶
*
不建议外部使用 直接使用os.Chown 即可 window 下不可用 On Windows, it always returns the syscall.EWINDOWS error, wrapped in *PathError.
func File_exits ¶
func File_exits_detail ¶
func File_get_contents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.