Documentation
¶
Overview ¶
Package winget extracts installed packages from Windows Package Manager (Winget) database.
Index ¶
Constants ¶
View Source
const (
// Name is the unique identifier for the Winget extractor.
Name = "os/winget"
)
Variables ¶
This section is empty.
Functions ¶
func NewDefault ¶
func NewDefault() filesystem.Extractor
NewDefault creates a new Winget extractor with default configuration.
Types ¶
type Extractor ¶
type Extractor struct{}
Extractor extracts installed packages from Windows Package Manager databases.
func (*Extractor) Extract ¶
func (e *Extractor) Extract(ctx context.Context, input *filesystem.ScanInput) (inventory.Inventory, error)
Extract extracts packages from a Winget database file.
func (Extractor) FileRequired ¶
func (e Extractor) FileRequired(api filesystem.FileAPI) bool
FileRequired determines if the given file should be processed by this extractor.
func (Extractor) Requirements ¶
func (e Extractor) Requirements() *plugin.Capabilities
Requirements returns the system requirements for this extractor.
Click to show internal directories.
Click to hide internal directories.