Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCommandAvailable ¶
IsCommandAvailable checks if command is available on user's path.
func ResolveAbsPath ¶
ResolveAbsPath searches for an executable file in the current working directory, the directories defined by the PATH environment variable and in the Go binary path. Once found returns the absolute path to the file.
func TryResolveAbsPath ¶
TryResolveAbsPath searches for an executable file in the current working directory, the directories defined by the PATH environment variable and in the Go binary path. Once found returns the absolute path to the file, or otherwise it returns the file path unmodified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.