Discover Packages
github.com/djcass44/all-your-base
pkg
lockfile
package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Oct 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Lock struct {
Name string `json:"name"`
LockfileVersion int `json:"lockfileVersion"`
Packages map[string ]Package `json:"packages"`
}
SortedKeys returns package names
sorted alphabetically.
Validate checks that the configuration file lines up
with what we expect from the lockfile and vice versa
type Package struct {
Name string `json:"-"`
Type v1 .PackageType `json:"type"`
Version string `json:"version"`
Resolved string `json:"resolved"`
Integrity string `json:"integrity"`
Direct bool `json:"direct"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.