Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandHome ¶
ExpandHome expands the path to include the home directory if the path is prefixed with `~`. If it isn't prefixed with `~`, the path is returned as-is. Via https://github.com/mitchellh/go-homedir/blob/master/homedir.go
func NormalizeCommand ¶
func NormalizeFilePath ¶
Normalizes a path and returns an clean absolute version. It correctly expands environment variables inside paths, converts "~/" into the users home directory, and replaces "./" with the current working directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.