Documentation
¶
Index ¶
- func ParseConanLock(pathToLockfile string) ([]lockfile.PackageDetails, error)
- type ConanGraphLock
- type ConanGraphNode
- type ConanLockExtractor
- func (e ConanLockExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
- func (e ConanLockExtractor) IsOfficiallySupported() bool
- func (e ConanLockExtractor) PackageManager() models.PackageManager
- func (e ConanLockExtractor) ShouldExtract(path string) bool
- type ConanLockFile
- type ConanReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConanLock ¶
func ParseConanLock(pathToLockfile string) ([]lockfile.PackageDetails, error)
Types ¶
type ConanGraphLock ¶
type ConanGraphLock struct {
Nodes map[string]ConanGraphNode `json:"nodes"`
}
type ConanGraphNode ¶
type ConanLockExtractor ¶
type ConanLockExtractor struct{}
func (ConanLockExtractor) Extract ¶
func (e ConanLockExtractor) Extract(f lockfile.DepFile, context lockfile.ScanContext) ([]lockfile.PackageDetails, error)
func (ConanLockExtractor) IsOfficiallySupported ¶
func (e ConanLockExtractor) IsOfficiallySupported() bool
func (ConanLockExtractor) PackageManager ¶
func (e ConanLockExtractor) PackageManager() models.PackageManager
func (ConanLockExtractor) ShouldExtract ¶
func (e ConanLockExtractor) ShouldExtract(path string) bool
type ConanLockFile ¶
type ConanLockFile struct {
Version string `json:"version"`
// conan v0.4- lockfiles use "graph_lock", "profile_host" and "profile_build"
GraphLock ConanGraphLock `json:"graph_lock,omitempty"`
ProfileHost string `json:"profile_host,omitempty"`
ProfileBuild string `json:"profile_build,omitempty"`
// conan v0.5+ lockfiles use "requires", "build_requires" and "python_requires"
Requires []string `json:"requires,omitempty"`
BuildRequires []string `json:"build_requires,omitempty"`
PythonRequires []string `json:"python_requires,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.