Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dependency ¶
type Dependency struct {
Version string `json:"version"`
Dev bool `json:"dev"`
Dependencies map[string]Dependency `json:"dependencies"`
Requires map[string]string `json:"requires"`
Resolved string `json:"resolved"`
StartLine int
EndLine int
}
func (*Dependency) UnmarshalJSONWithMetadata ¶
func (t *Dependency) UnmarshalJSONWithMetadata(node jfather.Node) error
UnmarshalJSONWithMetadata needed to detect start and end lines of deps for v1
type LockFile ¶
type LockFile struct {
Dependencies map[string]Dependency `json:"dependencies"`
Packages map[string]Package `json:"packages"`
LockfileVersion int `json:"lockfileVersion"`
}
type Package ¶
Click to show internal directories.
Click to hide internal directories.