Documentation
¶
Overview ¶
Package storelayout describes how an application locates a manifest inside a package. Paths are relative to the package root, including inside archives.
Index ¶
Constants ¶
const ( // LegacyManifest is the filename used by callers without an explicit layout. LegacyManifest = "plugin.json" // ExtManifest is the filename used by Ext-managed packages. ExtManifest = "ext.json" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Layout ¶
type Layout struct {
ManifestPath string `json:"manifest_path"`
FallbackPath string `json:"fallback_path,omitempty"`
}
Layout is an application's package layout. FallbackPath is read only when ManifestPath is absent. An invalid or unreadable primary never falls back.
func Ext ¶
func Ext() Layout
Ext returns the layout of Ext installations and their historical packages.