Paket


NuGetCache

Namespace: Paket

Contains NuGet support.

Nested types and modules

TypeDescription
BlockedCacheEntry
FrameworkRestrictionsCache
GetVersionFilter
NuGetPackageCache
NuGetRequestGetVersions
NuGetResponseGetVersions
NuGetResponseGetVersionsFailure
NuGetResponseGetVersionsSimple
NuGetResponseGetVersionsSuccess
ODataSearchResult
SendDataModification
UnparsedPackageFile
UrlId
UrlToTry
ModuleDescription
NuGetConfig
ODataSearchResult

Functions and values

Function or valueDescription
CopyFromCache (...)
Signature: (config:ResolvedPackagesFolder * cacheFileName:string * licenseCacheFile:string * packageName:PackageName * version:SemVerInfo * force:bool * detailed:bool) -> Async<string option>

Extracts the given package to the ./packages folder

CopyLicenseFromCache (...)
Signature: (config:ResolvedPackagesFolder * cacheFileName:string * packageName:PackageName * version:SemVerInfo * force:bool) -> Async<unit>
CopyToCache (cache, fileName, force)
Signature: (cache:Cache * fileName:string * force:bool) -> unit

Puts the package into the cache

ExtractPackage (...)
Signature: (fileName:string * targetFolder:string * packageName:PackageName * version:SemVerInfo * detailed:bool) -> Async<string>

Extracts the given package to the ./packages folder

ExtractPackageToUserFolder (...)
Signature: (fileName:string * packageName:PackageName * version:SemVerInfo * isCliTool:bool) -> Async<string>

Extracts the given package to the user folder

FileInfo str
Signature: str:string -> FileInfo
fixArchive fileName
Signature: fileName:string -> unit
fixDatesInArchive fileName
Signature: fileName:string -> unit
getCacheFiles (...)
Signature: cacheVersion:string -> nugetURL:string -> packageName:PackageName -> version:SemVerInfo -> FileInfo * string list
getDetailsFromCacheOr (...)
Signature: force:bool -> nugetURL:string -> packageName:PackageName -> version:SemVerInfo -> get:(unit -> Async<ODataSearchResult>) -> Async<ODataSearchResult>
GetLicenseFileName packageName version
Signature: packageName:PackageName -> version:SemVerInfo -> string
GetPackageFileName packageName version
Signature: packageName:PackageName -> version:SemVerInfo -> string
GetTargetUserFolder packageName version
Signature: packageName:PackageName -> version:SemVerInfo -> string
GetTargetUserNupkg packageName version
Signature: packageName:PackageName -> version:SemVerInfo -> string
GetTargetUserToolsFolder (...)
Signature: packageName:PackageName -> version:SemVerInfo -> string
isExtracted (...)
Signature: directory:DirectoryInfo -> packageName:PackageName -> version:SemVerInfo -> bool
IsPackageVersionExtracted (...)
Signature: (config:ResolvedPackagesFolder * packageName:PackageName * version:SemVerInfo) -> bool
normalizeUrl url
Signature: url:string -> string
tryAndBlacklistUrl (...)
Signature: doBlackList:bool -> doWarn:bool -> source:NugetSource -> tryAgain:('a -> bool) -> f:(string -> Async<'a>) -> urls:UrlToTry list -> Async<'a>
Type parameters: 'a
tryGetDetailsFromCache (...)
Signature: force:bool -> nugetURL:string -> packageName:PackageName -> version:SemVerInfo -> ODataSearchResult option
Fork me on GitHub