Paket


LockFile

Namespace: Paket

Allows to parse and analyze paket.lock files.

Constructors

ConstructorDescription
new(fileName, groups)
Signature: (fileName:string * groups:Map<GroupName,LockFileGroup>) -> LockFile

CompiledName: .ctor

Instance members

Instance memberDescription
CheckIfPackageExistsInAnyGroup(...)
Signature: packageName:PackageName -> string
FileName
Signature: string

CompiledName: get_FileName

GetAllDependenciesOf(...)
Signature: (groupName:GroupName * package:PackageName * context:string) -> HashSet<PackageName>

Gets all dependencies of the given package

GetAllDependenciesOfSafe(...)
Signature: (groupName:GroupName * package:PackageName) -> HashSet<PackageName> option

Gets all dependencies of the given package in the given group.

GetAllNormalizedDependenciesOf(...)
Signature: (groupName:GroupName * package:PackageName * context:string) -> HashSet<GroupName * PackageName>

Gets all dependencies of the given package

GetDependencyLookupTable()
Signature: unit -> Map<(GroupName * PackageName),Set<PackageName>>
GetDirectDependenciesOfSafe(...)
Signature: (groupName:GroupName * package:PackageName * context:string) -> Set<PackageName>

Gets only direct dependencies of the given package in the given group.

GetGroup(groupName)
Signature: groupName:GroupName -> LockFileGroup
GetGroupedResolution()
Signature: unit -> Map<(GroupName * PackageName),PackageInfo>
GetInstalledPackageModel(arg1)
Signature: QualifiedPackageName -> InstallModel
GetOrderedPackageHull(...)
Signature: (groupName:GroupName * referencesFile:ReferencesFile) -> ((GroupName * PackageName) * PackageInstallSettings * Set<PackageName>) list * Set<ResolvedPackage>
GetPackageHull(...)
Signature: (groupName:GroupName * referencesFile:ReferencesFile) -> Dictionary<(GroupName * PackageName),PackageInstallSettings>
GetPackageHull(referencesFile)
Signature: referencesFile:ReferencesFile -> Dictionary<(GroupName * PackageName),PackageInstallSettings>
GetPackageHullSafe(...)
Signature: (referencesFile:ReferencesFile * groupName:GroupName) -> Result<Set<PackageName>,DomainMessage>
GetRemoteReferencedPackages(...)
Signature: (referencesFile:ReferencesFile * installGroup:InstallGroup) -> PackageInstallSettings list
GetResolvedPackages()
Signature: unit -> Map<GroupName,PackageInfo list>
GetTopLevelDependencies(groupName)
Signature: groupName:GroupName -> Map<PackageName,PackageInfo>
GetTransitiveDependencies(groupName)
Signature: groupName:GroupName -> Set<PackageName>
Groups
Signature: Map<GroupName,LockFileGroup>

CompiledName: get_Groups

InstalledPackages
Signature: (GroupName * PackageName * SemVerInfo) list

Returns a list of packages inside the lockfile with their group and version number

CompiledName: get_InstalledPackages

RootPath
Signature: string

CompiledName: get_RootPath

Save()
Signature: unit -> bool

Updates the paket.lock file with the analyzed dependencies from the paket.dependencies file.

Static members

Static memberDescription
LoadFrom(lockFileName)
Signature: lockFileName:string -> LockFile

Parses a paket.lock file from file

Parse(lockFileName, lines)
Signature: (lockFileName:string * lines:string []) -> LockFile

Parses a paket.lock file from lines

Fork me on GitHub