Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCargoLock ¶
func ParseCargoLock(pathToLockfile string) ([]lockfile.PackageDetails, error)
Types ¶
type CargoLockExtractor ¶
type CargoLockExtractor struct{}
func (CargoLockExtractor) Extract ¶
func (e CargoLockExtractor) Extract(f lockfile.DepFile) ([]lockfile.PackageDetails, error)
func (CargoLockExtractor) IsOfficiallySupported ¶
func (e CargoLockExtractor) IsOfficiallySupported() bool
func (CargoLockExtractor) PackageManager ¶
func (e CargoLockExtractor) PackageManager() models.PackageManager
func (CargoLockExtractor) ShouldExtract ¶
func (e CargoLockExtractor) ShouldExtract(path string) bool
type CargoLockFile ¶
type CargoLockFile struct {
Version int `toml:"version"`
Packages []CargoLockPackage `toml:"package"`
}
type CargoLockPackage ¶
Click to show internal directories.
Click to hide internal directories.