Documentation
¶
Index ¶
- func DirExists(path string) bool
- func Exists(path string) bool
- func FileCompare(path string, content string) bool
- func FileCompareBase64(path string, base string) bool
- func FileExists(path string) bool
- func FileUserConfigExists(path string) bool
- func GetStdinNumberValue(prefix string, omit int) int
- func GetStdinStringValue(prefix string, omit string) string
- func GetUserConfigPath(path string) (string, error)
- func IsDir(path string) bool
- func IsFile(path string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileCompare ¶ added in v1.2.0
func FileCompareBase64 ¶ added in v1.2.0
func FileUserConfigExists ¶
FileUserConfigExists 配置文件是否存在
func GetStdinNumberValue ¶
GetStdinNumberValue 从标准输入获取内容. 要求前缀(prefix),与默认值(omit)
func GetUserConfigPath ¶
GetUserConfigPath 从HOME变量获取用户目录路径
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.