Documentation
¶
Overview ¶
Package extensionhost owns native extension discovery, registration and files. It deliberately has no dependency on the GUI or the client package.
Index ¶
- Constants
- func Directory() (string, error)
- func Open(root *os.Root, directory string, manifest Manifest, stderr io.Writer) (io.ReadWriteCloser, error)
- func ReadResource(root *os.Root, name string, limit int64) ([]byte, error)
- func ValidID(id string) bool
- func ValidResourcePath(name string, resource bool) bool
- type Installed
- type Manifest
- type Registration
- type Upload
Constants ¶
View Source
const ( StartupTimeout = 5 * time.Second MaxExtensions = 64 MaxResourceBytes = 64 << 20 MaxFileBytes = 32 << 20 MaxPackageBytes = 256 << 20 MaxPackageFiles = 4096 )
Variables ¶
This section is empty.
Functions ¶
func ValidResourcePath ¶
Types ¶
type Installed ¶
type Installed = protocol.ExtensionInfo
type Manifest ¶
type Manifest = protocol.ExtensionManifest
The shared manifest and metadata are also the wire-domain types.
type Registration ¶
type Registration struct {
Info Installed
Diagnostics string
Contributions peb.Contributions
}
Click to show internal directories.
Click to hide internal directories.