dart

package
v1.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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 (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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL