Documentation
¶
Index ¶
Constants ¶
View Source
const IndexSchemaVersion = 1
Variables ¶
This section is empty.
Functions ¶
func CanonicalFileBytes ¶ added in v0.1.1
func CleanBundlePath ¶
Types ¶
type Bundle ¶
func (*Bundle) ModuleFiles ¶
func (b *Bundle) ModuleFiles(module Module, standalone bool) ([]ModuleFile, error)
type BundleFile ¶
type BundleModule ¶
type Index ¶
type Index struct {
SchemaVersion int `json:"schemaVersion"`
Name string `json:"name"`
Version string `json:"version"`
Description string `json:"description"`
Patterns []Module `json:"patterns"`
}
func ParseIndex ¶
func (*Index) SortedModules ¶
type Manifest ¶
type Manifest struct {
SchemaVersion int `json:"schemaVersion"`
RegistryVersion string `json:"registryVersion"`
BundleHash string `json:"bundleHash"`
Modules []BundleModule `json:"modules"`
Files []BundleFile `json:"files"`
}
type Module ¶
type Module struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Path string `json:"path"`
Languages []string `json:"languages"`
Frameworks []string `json:"frameworks"`
Tags []string `json:"tags"`
Version string `json:"version"`
Package string `json:"package"`
Source string `json:"source"`
DefaultTarget string `json:"defaultTarget"`
StdlibOnly bool `json:"stdlibOnly"`
Include []string `json:"include"`
StandaloneInclude []string `json:"standaloneInclude"`
Status string `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.