Documentation
¶
Index ¶
- func CopyFile(source, dest string) (err error)
- func GetFileSize(filename string) (int64, error)
- func GetParentDir(path string) (string, error)
- func IsDir(path string) bool
- func IsFile(path string) bool
- func IsFileExists(path string) bool
- func IsPathExists(path string) bool
- func SelfDir() (path string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileSize ¶
GetFileSize return the size of the file as bytes.
func GetParentDir ¶
GetParentDir returns the path of parent directory.
func IsFileExists ¶
IsFileExists reports whether the file exists.
func IsPathExists ¶
IsPathExists reports whether the file or directory exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.