vscodeextensions

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

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

func New

func New() filesystem.Extractor

New returns an vscode extractor.

Types

type Extractor

type Extractor struct{}

Extractor extracts vscode extensions

func (Extractor) Extract

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) Name

func (e Extractor) Name() string

Name of the extractor.

func (Extractor) Requirements

func (e Extractor) Requirements() *plugin.Capabilities

Requirements of the extractor.

func (Extractor) Version

func (e Extractor) Version() int

Version 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL