Paket


NuGetV3

Namespace: Paket

Contains NuGet support.

Nested types and modules

TypeDescription
Catalog
CatalogDependency
CatalogDependencyGroup
NugetV3ResourceType
NugetV3SourceResourceJSON
NugetV3SourceRootJSON
PackageIndex
PackageIndexPackage
PackageIndexPage
ResourceIndex

Functions and values

Function or valueDescription
calculateNuGet2Path nugetUrl
Signature: nugetUrl:string -> string option

Calculates the NuGet v3 URL from a NuGet v2 URL.

calculateNuGet3Path nugetUrl
Signature: nugetUrl:string -> string option

Calculates the NuGet v3 URL from a NuGet v2 URL.

FindAutoCompleteVersionsForPackage (...)
Signature: (nugetURL:string * auth:Auth option * package:PackageName * includingPrereleases:bool * maxResults:int) -> Async<SafeWebResult<string []>>

Uses the NuGet v3 autocomplete service to retrieve all package versions for the given package.

FindVersionsForPackage (...)
Signature: (nugetURL:string * auth:Auth option * package:PackageName) -> NuGetRequestGetVersions

Uses the NuGet v3 service to retrieve all package versions for the given package.

getNuGetV3Resource source resourceType
Signature: source:NugetV3Source -> resourceType:NugetV3ResourceType -> Async<string>
getPackageDetails (...)
Signature: source:NugetV3Source -> packageName:PackageName -> version:SemVerInfo -> Async<ODataSearchResult>
GetPackageDetails (...)
Signature: force:bool -> source:NugetV3Source -> packageName:PackageName -> version:SemVerInfo -> Async<ODataSearchResult>

Uses the NuGet v3 registration endpoint to retrieve package details .

getPackageIndex source packageName
Signature: source:NugetV3Source -> packageName:PackageName -> Async<PackageIndex option>
getPackageIndexPage source page
Signature: source:NugetV3Source -> page:PackageIndexPage -> Async<PackageIndexPage>
getRelevantPage source index version
Signature: source:NugetV3Source -> index:PackageIndex -> version:SemVerInfo -> Async<PackageIndexPackage option>
loadFromCacheOrGetDetails (...)
Signature: force:bool -> cacheFileName:string -> source:NugetV3Source -> packageName:PackageName -> version:SemVerInfo -> Async<bool * ODataSearchResult>
Fork me on GitHub