vscode

package
v0.2.4-alpha.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestVersionURL

func GetLatestVersionURL(p Plugin) (string, error)

Types

type Client

type Client interface {
	DownloadOrCache(plugin Plugin) (bool, error)
	PluginPath(p Plugin) string
}

func NewClient

func NewClient(vendor MarketplaceVendor) (Client, error)

type MarketplaceVendor

type MarketplaceVendor string
const (
	MarketplaceVendorVSCode  MarketplaceVendor = "vscode"
	MarketplaceVendorOpenVSX MarketplaceVendor = "openvsx"
)

type Plugin

type Plugin struct {
	Publisher string
	Extension string
	Version   *string
}

func ParsePlugin

func ParsePlugin(p string) (*Plugin, error)

func (Plugin) String

func (p Plugin) String() string

Jump to

Keyboard shortcuts

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