Documentation
¶
Index ¶
- func ParsePubspecLock(pathToLockfile string) ([]extractor.PackageDetails, error)
- type PubspecLockDescription
- type PubspecLockExtractor
- func (e PubspecLockExtractor) Extract(f extractor.DepFile, context extractor.ScanContext) ([]extractor.PackageDetails, error)
- func (e PubspecLockExtractor) IsOfficiallySupported() bool
- func (e PubspecLockExtractor) PackageManager() models.PackageManager
- func (e PubspecLockExtractor) ShouldExtract(path string) bool
- type PubspecLockPackage
- type PubspecLockfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePubspecLock ¶
func ParsePubspecLock(pathToLockfile string) ([]extractor.PackageDetails, error)
Types ¶
type PubspecLockDescription ¶
type PubspecLockDescription struct {
Name string `yaml:"name"`
URL string `yaml:"url"`
Path string `yaml:"path"`
Ref string `yaml:"resolved-ref"`
}
func (*PubspecLockDescription) UnmarshalYAML ¶
func (pld *PubspecLockDescription) UnmarshalYAML(value *yaml.Node) error
type PubspecLockExtractor ¶
type PubspecLockExtractor struct{}
func (PubspecLockExtractor) Extract ¶
func (e PubspecLockExtractor) Extract(f extractor.DepFile, context extractor.ScanContext) ([]extractor.PackageDetails, error)
func (PubspecLockExtractor) IsOfficiallySupported ¶
func (e PubspecLockExtractor) IsOfficiallySupported() bool
func (PubspecLockExtractor) PackageManager ¶
func (e PubspecLockExtractor) PackageManager() models.PackageManager
func (PubspecLockExtractor) ShouldExtract ¶
func (e PubspecLockExtractor) ShouldExtract(path string) bool
type PubspecLockPackage ¶
type PubspecLockPackage struct {
Source string `yaml:"source"`
Description PubspecLockDescription `yaml:"description"`
Version string `yaml:"version"`
Dependency string `yaml:"dependency"`
}
type PubspecLockfile ¶
type PubspecLockfile struct {
Packages map[string]PubspecLockPackage `yaml:"packages,omitempty"`
Sdks map[string]string `yaml:"sdks"`
}
Click to show internal directories.
Click to hide internal directories.