Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoBinariesInstalled reports a scope without installed binaries. ErrNoBinariesInstalled = errors.New( "there are no binaries installed in the selected scope", ) )
Functions ¶
func ListBinaries ¶
ListBinaries outputs installed versions from exactly the selected scope.
func ParseBinaries ¶
func ParseBinaries(fileList []fs.DirEntry, program binary.Program, root string, ) ([]version.Version, error)
ParseBinaries reads installed executables from the selected product's version entries. Str preserves the exact installation suffix, followed by an optional active marker.
Types ¶
type ListCtx ¶
type ListCtx struct {
binary.BinaryContext
}
ListCtx contains the options for listing installed binaries.
Click to show internal directories.
Click to hide internal directories.