1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-05 16:31:47 +02:00

ParsedURL: Remove base field

This commit is contained in:
Eelco Dolstra 2025-01-07 14:52:00 +01:00
parent f705ce7f9a
commit 4077aa43a8
6 changed files with 2 additions and 20 deletions

View file

@ -40,7 +40,6 @@ ParsedURL parseURL(const std::string & url)
path = "/";
return ParsedURL{
.base = base,
.scheme = scheme,
.authority = authority,
.path = percentDecode(path),

View file

@ -7,8 +7,6 @@ namespace nix {
struct ParsedURL
{
/// URL without query/fragment
std::string base; // FIXME: remove
std::string scheme;
std::optional<std::string> authority;
std::string path;