Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotSupported is returned when an operation is not supported on the current platform. ErrNotSupported = errors.New("not supported") // ErrNotFound is returned when the desired data is not found. ErrNotFound = errors.New("not found") // ErrEmptyOutput is a special error that is returned when an operation has no error, but also returns to data. ErrEmptyOutput = errors.New("command succeeded with empty output") )
Functions ¶
func GenerateBinaryNameFromPath ¶
GenerateBinaryNameFromPath generates a more human readable binary name from the given path. This function is used as fallback in the GetBinaryName functions.
func GetBinaryIconFromSystem ¶
GetBinaryIconFromSystem queries the operating system for the associated icon for a given binary path.
func GetBinaryNameFromSystem ¶
GetBinaryNameFromSystem queries the operating system for a human readable name for the given binary path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.