Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBinaryNotFound = errors.New("Requested binary was not found") ErrNoSearchSpecified = errors.New("You need to specify a binary to search") )
Common named errors to match in programs using this library
Functions ¶
func FindInDirectory ¶
FindInDirectory checks whether the specified file is present in the directory
func FindInPath ¶
FindInPath searches the specified binary in directories listed in $PATH and returns first match
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.