Documentation ¶
Index ¶
- func BytesToHuman(src uint64) string
- func ExpandPatternLists(pattern string) (result []string, err error)
- func IsDirectory(path string) (b bool, err error)
- func ResolvePath(path string, usr *user.User) (string, error)
- func SafeParentResolvePath(path string, usr *user.User, perm os.FileMode) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandPatternLists ¶
ExpandPatternLists expands {comma separated list} of one level deep
func IsDirectory ¶
IsDirectory checks whether path is directory and exists
func ResolvePath ¶
ResolvePath {"" -> ".", "~..." -> "user.HomeDir..."} -> Abs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.