package
Version:
v0.54.1
Opens a new window with list of versions in this module.
Published: Jul 31, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LockFile struct {
Object Object `json:"object"`
Pins []Pin `json:"pins"`
Version int `json:"version"`
}
type Object struct {
Pins []Pin `json:"pins"`
}
Parser is a parser for Package.resolved files
type Pin struct {
Package string `json:"package"`
RepositoryURL string `json:"repositoryURL"`
Location string `json:"location"`
State State `json:"state"`
StartLine int
EndLine int
}
UnmarshalJSONWithMetadata needed to detect start and end lines of deps for v1
type State struct {
Branch string `json:"branch"`
Revision string `json:"revision"`
Version string `json:"version"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.