Logo Paket

RuntimeGraph Module

Functions and values

Function or value Description

areCompatible projectRid assetRid g

Full Usage: areCompatible projectRid assetRid g

Parameters:
Returns: bool

calculates whether the given assetRid is compatible with the given projectRid. consider a project targeting projectRid, this returns true if an asset with assetRid is comaptible.

projectRid : Rid
assetRid : Rid
g : RuntimeGraph
Returns: bool

findRuntimeDependencies rid packageName g

Full Usage: findRuntimeDependencies rid packageName g

Parameters:
Returns: (PackageName * VersionRequirement) list

return runtime depenendencies for the given package and runtime

rid : Rid
packageName : PackageName
g : RuntimeGraph
Returns: (PackageName * VersionRequirement) list

getInheritanceList rid g

Full Usage: getInheritanceList rid g

Parameters:
Returns: Rid list

get the list of compatible RIDs for the given RID. Most compatible are near the head. The list contains the given RID in the HEAD

rid : Rid
g : RuntimeGraph
Returns: Rid list

getKnownRids g

Full Usage: getKnownRids g

Parameters:
Returns: Rid seq

get a list of RIDs in no particular order which are part of this runtime graph

g : RuntimeGraph
Returns: Rid seq

getRuntimeGraphFromNugetCache root config groupName package

Full Usage: getRuntimeGraphFromNugetCache root config groupName package

Parameters:
Returns: RuntimeGraph option

Downloads the given package into the nuget cache and read its runtime.json.

root : string
config : PackagesFolderGroupConfig option
groupName : GroupName
package : ResolvedPackage
Returns: RuntimeGraph option

merge r1 r2

Full Usage: merge r1 r2

Parameters:
Returns: RuntimeGraph

merge two runtime graphs

r1 : RuntimeGraph
r2 : RuntimeGraph
Returns: RuntimeGraph

mergeCompatibility s1 s2

Full Usage: mergeCompatibility s1 s2

Parameters:
Returns: CompatibilityProfile

mergeDescription d1 d2

Full Usage: mergeDescription d1 d2

Parameters:
Returns: RuntimeDescription

mergeSeq s

Full Usage: mergeSeq s

Parameters:
Returns: RuntimeGraph

merge a sequence of runtime graphs

s : RuntimeGraph seq
Returns: RuntimeGraph

Type something to start searching.