Paket


DependenciesFile

Namespace: Paket

Allows to parse and analyze paket.dependencies files.

Constructors

ConstructorDescription
new(...)
Signature: (fileName:string * groups:Map<GroupName,DependenciesGroup> * textRepresentation:string []) -> DependenciesFile

CompiledName: .ctor

Instance members

Instance memberDescription
Add(...)
Signature: (groupName:GroupName * packageName:PackageName * version:string * installSettings:InstallSettings * cliTool:bool) -> DependenciesFile
Add(...)
Signature: (groupName:GroupName * packageName:PackageName * version:string * installSettings:InstallSettings) -> DependenciesFile
Add(groupName, packageName, version)
Signature: (groupName:GroupName * packageName:PackageName * version:string) -> DependenciesFile
Add(...)
Signature: (groupName:GroupName * packageName:PackageName * versionRange:VersionRange * installSettings:InstallSettings * clitool:bool) -> DependenciesFile
Add(...)
Signature: (groupName:GroupName * packageName:PackageName * versionRange:VersionRange * installSettings:InstallSettings) -> DependenciesFile
AddAdditionalPackage(...)
Signature: (groupName:GroupName * packageName:PackageName * vr:VersionStrategy * settings:InstallSettings * clitool:bool) -> DependenciesFile
AddAdditionalPackage(...)
Signature: (groupName:GroupName * packageName:PackageName * version:string * settings:InstallSettings * clitool:bool) -> DependenciesFile
AddAdditionalPackage(...)
Signature: (groupName:GroupName * packageName:PackageName * versionRequirement:VersionRequirement * resolverStrategy:ResolverStrategy option * settings:InstallSettings * isCliTool:bool * pinDown:bool option) -> DependenciesFile
AddFixedPackage(...)
Signature: (groupName:GroupName * packageName:PackageName * version:string) -> DependenciesFile
AddFixedPackage(...)
Signature: (groupName:GroupName * packageName:PackageName * version:string * settings:InstallSettings) -> DependenciesFile
CheckIfPackageExistsInAnyGroup(...)
Signature: packageName:PackageName -> string
Directory
Signature: string

The full path of the directory that containes this paket.dependencies file

CompiledName: get_Directory

DirectoryInfo
Signature: DirectoryInfo option

Directory info for the parent of this paket.dependencies file

CompiledName: get_DirectoryInfo

FileInfo
Signature: FileInfo option

CompiledName: get_FileInfo

FileName
Signature: string

CompiledName: get_FileName

FindLockfile()
Signature: unit -> FileInfo

Find the matching lock file to a dependencies file

GetDependenciesInGroup(groupName)
Signature: groupName:GroupName -> Map<PackageName,VersionRequirement>

Returns all direct NuGet dependencies in the given group.

GetGroup(groupName)
Signature: groupName:GroupName -> DependenciesGroup
GetPackage(groupName, name)
Signature: (groupName:GroupName * name:PackageName) -> PackageRequirement
Groups
Signature: Map<GroupName,DependenciesGroup>

CompiledName: get_Groups

HasPackage(groupName, name)
Signature: (groupName:GroupName * name:PackageName) -> bool
Lines
Signature: string []

CompiledName: get_Lines

Remove(groupName, packageName)
Signature: (groupName:GroupName * packageName:PackageName) -> DependenciesFile
RemovePackage(groupName, packageName)
Signature: (groupName:GroupName * packageName:PackageName) -> DependenciesFile
Resolve(...)
Signature: (force:bool * getSha1:(Origin -> string -> string -> VersionRestriction -> string option -> string) * getVersionF:PackageVersionsFunc * getPreferredVersionF:PreferredVersionsFunc * getPackageDetailsF:PackageDetailsFunc * getPackageRuntimeGraph:(GroupName -> ResolvedPackage -> RuntimeGraph option) * groupsToResolve:Map<GroupName,'a> * updateMode:UpdateMode) -> Map<GroupName,Resolved>
Type parameters: 'a
ResolveFrameworksForScriptGeneration()
Signature: unit -> Lazy<seq<FrameworkIdentifier>>
RootPath
Signature: string

CompiledName: get_RootPath

Save()
Signature: unit -> unit
SimplifyFrameworkRestrictions()
Signature: unit -> DependenciesFile
TryGetPackage(groupName, name)
Signature: (groupName:GroupName * name:PackageName) -> PackageRequirement option
UpdateFilteredPackageVersion(...)
Signature: (groupName:GroupName * packageFilter:PackageFilter * version:string) -> DependenciesFile
UpdatePackageVersion(...)
Signature: (groupName:GroupName * packageName:PackageName * version:string) -> DependenciesFile

Static members

Static memberDescription
FindLocalfile(dependenciesFileName)
Signature: dependenciesFileName:string -> FileInfo
FindLockfile(dependenciesFileName)
Signature: dependenciesFileName:string -> FileInfo

Find the matching lock file to a dependencies file

FromSource(source)
Signature: source:string -> DependenciesFile
FromSource(rootPath, source)
Signature: (rootPath:string * source:string) -> DependenciesFile
ReadFromFile(fileName)
Signature: fileName:string -> DependenciesFile
Fork me on GitHub