Paket


PackageResolver

Namespace: Paket

Contains logic which helps to resolve the dependency graph.

Nested types and modules

TypeDescription
ConflictInfo
ConflictState
DependencySet
GetPackageDetailsParameters
GetPackageVersionsParameters
PackageDetails

Represents package details

PackageDetailsFunc
PackageDetailsSyncFunc
PackageInfo
PackageResolution
PackageVersionsFunc
PackageVersionsSyncFunc
PreferredVersionsFunc
RequestWork
Resolution
ResolutionRaw
Resolved
ResolvedPackage

Represents data about resolved packages

ResolverRequestQueue
ResolverStep
ResolverTaskMemory<'a>
SourcePackageInfo
StackPack
UpdateMode
VersionCache

Caches information retrieved by GetVersions until it is required by GetDetails

WorkHandle<'a>
WorkPriority
ModuleDescription
DependencySetFilter
Resolution
ResolutionRaw
ResolverRequestQueue
ResolverTaskMemory

Functions and values

Function or valueDescription
calcOpenRequirements (...)
Signature: (exploredPackage:ResolvedPackage * lockedPackages:Set<PackageName> * globalFrameworkRestrictions:FrameworkRestrictions * verCache:VersionCache * dependency:PackageRequirement * resolverStep:ResolverStep) -> Set<PackageRequirement>
cleanupNames model
Signature: model:PackageResolution -> PackageResolution
getResolverStrategy (...)
Signature: globalStrategyForDirectDependencies:ResolverStrategy option -> globalStrategyForTransitives:ResolverStrategy option -> allRequirementsOfCurrentPackage:Set<PackageRequirement> -> currentRequirement:PackageRequirement -> ResolverStrategy
RequestTimeout
Signature: int
Resolve (...)
Signature: (getVersionsRaw:PackageVersionsFunc * getPreferredVersionsRaw:PreferredVersionsFunc * getPackageDetailsRaw:PackageDetailsFunc * groupName:GroupName * globalStrategyForDirectDependencies:ResolverStrategy option * globalStrategyForTransitives:ResolverStrategy option * globalFrameworkRestrictions:FrameworkRestrictions * rootDependencies:Set<PackageRequirement> * updateMode:UpdateMode) -> Resolution

Resolves all direct and transitive dependencies

selectVersionsToPreload (...)
Signature: verReq:VersionRequirement -> f:('?10414 -> SemVerInfo) -> versions:seq<'?10414> -> seq<'?10414 * WorkPriority>
Type parameters: '?10414
WorkerCount
Signature: int
Fork me on GitHub