Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AncestorDirs ¶ added in v0.1.0
AncestorDirs returns a list of p's ancestor directories (optionally including itself) excluding the root ("." or "/")).
func CurrentUserHomeDir ¶ added in v0.0.16
func CurrentUserHomeDir() string
CurrentUserHomeDir tries to get the current user's home directory in a cross-platform manner.
func SafeCommandName ¶ added in v0.1.0
Makes command name safe for shell script (and for makefiles). For example, Cygwin does not like when you trying to execute C:/foo/bar.exe arguments so we replacing first : with \: there. On Unix/Darwin there is no need to perform replacements
Types ¶
Click to show internal directories.
Click to hide internal directories.