Documentation ¶
Index ¶
- func ByteFormat(b int64) string
- func Copy(src, dst string) (written int64, err error)
- func FileMd5(path string) (string, error)
- func FileSha256(path string) (string, error)
- func GetSymlinkTarget(path string) (string, error)
- func HideSecret(secret string, count uint32) string
- func IsDir(path string) (bool, error)
- func IsDirEmpty(dirPath string) (bool, error)
- func IsExist(path string) (bool, error)
- func IsIgnore(path string, ignoreList []string) bool
- func IsSymlink(path string) (bool, error)
- func RandomString(length int) (string, error)
- func StringMd5(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSymlinkTarget ¶
GetSymlinkTarget 获取符号链接指向的目标
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.