Documentation
¶
Index ¶
- func BoolPtr(value bool) *bool
- func ContainsPathSeparator(value string) bool
- func DerefString(value *string) string
- func Expand(path string) (string, error)
- func Home() (string, error)
- func IsDirectory(path string) bool
- func NormalizeSlashesLower(value string) string
- func StringPtr(value string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsPathSeparator ¶ added in v1.5.1
func DerefString ¶ added in v1.5.1
func Expand ¶
Expand takes a path as input and replaces ~ at the start of the path with the user's home directory. Does nothing if the path does not start with '~'.
func IsDirectory ¶ added in v1.5.1
func NormalizeSlashesLower ¶ added in v1.5.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.