Documentation ¶
Index ¶
- func AbsPath(path string) string
- func FileType(isDir bool) string
- func FormatPath(path string) string
- func HashHex(h hash.Hash, file string) (string, error)
- func ListFiles(path string) (map[string]PathInfo, error)
- func ListPath(path string, acceptFn func(info PathInfo) bool) (map[string]PathInfo, error)
- func Md5(file string) (string, error)
- func PettyJson(v any) string
- func RelativePath(path, root string) string
- func Sha1(file string) (string, error)
- func Sha256(file string) (string, error)
- func Sha512(file string) (string, error)
- func WalkPath(root string, fn WalkFunc) error
- type PathInfo
- type WalkFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPath ¶
func RelativePath ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.