Documentation
¶
Overview ¶
Package vscodeextensions extracts vscode extensions.
Index ¶
Constants ¶
View Source
const Name = "vscode/extensions"
Name is the name for the vscode extensions extractor
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
type Extractor struct{}
Extractor extracts vscode extensions
func (Extractor) Extract ¶
func (e Extractor) Extract(ctx context.Context, input *filesystem.ScanInput) (inventory.Inventory, error)
Extract extracts vscode extensions
func (Extractor) FileRequired ¶
func (e Extractor) FileRequired(api filesystem.FileAPI) bool
FileRequired returns true if the file contains vscode extensions information
func (Extractor) Requirements ¶
func (e Extractor) Requirements() *plugin.Capabilities
Requirements of the extractor.
type Metadata ¶
type Metadata struct {
ID string `json:"id"`
PublisherID string `json:"publisherId"`
PublisherDisplayName string `json:"publisherDisplayName"`
TargetPlatform string `json:"targetPlatform"`
Updated bool `json:"updated"`
IsPreReleaseVersion bool `json:"isPreReleaseVersion"`
InstalledTimestamp int64 `json:"installedTimestamp"`
}
Metadata for VS Code extensions.
Click to show internal directories.
Click to hide internal directories.