Documentation ¶
Index ¶
- func DirsUnder(dirPath string) ([]string, error)
- func FileMTime(fp string) (int64, error)
- func FileSize(fp string) (int64, error)
- func IsDir(fp string) bool
- func IsExist(fp string) bool
- func IsFile(fp string) bool
- func ReadBytes(cpath string) ([]byte, error)
- func ReadYaml(cpath string, cptr interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExist ¶
IsExist checks whether a file or directory exists. It returns false when the file or directory does not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.