aieditorextensions

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package aieditorextensions owns VS Code gallery identities and cache paths.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssetCachePath

func AssetCachePath(publisher, name, version, assetType string) (string, bool)

func ExtensionFolder

func ExtensionFolder(publisher, name string) string

func Identity

func Identity(raw string) (publisher, name string, ok bool)

Identity is the case-insensitive publisher.extension name used by VS Code.

func QueryPath

func QueryPath(body []byte) string

func Segment

func Segment(raw string) bool

func Serves

func Serves(t repo.PackageType) bool

func Version

func Version(raw string) bool

Types

type Handler

type Handler struct{ generic.Handler }

Handler keeps the shared deployment policy and classifies gallery metadata. Repositories of this format are remote-only; the protocol validates every fetched representation before the source cache can publish it.

func (Handler) Classify

func (Handler) Classify(_ repo.Config, path string) format.Class

Jump to

Keyboard shortcuts

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