Expand description
NuGet V3 registry client.
NuGet base URLs are not hardcodable: the service index
(https://api.nuget.org/v3/index.json) must be resolved first, then consulted for the
flat-container (“PackageBaseAddress”), search (“SearchQueryService”), and registration
(“RegistrationsBaseUrl”) resource URLs — the last one backs both publish-time freshness
and NuGetRegistry::unlisted_versions_for_hover’s hover-only unlisted enrichment (D1).
Structs§
Constants§
- REGISTRY
- Display name for NuGet used in not-found and API-response error messages.
Functions§
- flat_
container_ url - Builds the flat-container version-enumeration URL for
name. - package_
url - Returns the nuget.org package page URL for
name. - parse_
flat_ container - Parses a flat-container
index.jsonresponse into descending-sorted versions. - registration_
index_ url - Builds the registration-hive index URL for
name. Same lowercasing/encoding rationale asflat_container_url. - search_
url - Builds the
SearchQueryServiceURL forquery, limited tolimitresults.