1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 16:02:43 +01:00

ParsedURL: Remove base field

(cherry picked from commit 4077aa43a8)
This commit is contained in:
Eelco Dolstra 2025-01-07 14:52:00 +01:00
parent 8856b5f2ca
commit 200e3be41a
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;