mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
refactor(libstore): use string_view in HttpBinaryCacheStore::makeRequest
This commit is contained in:
parent
60f9489b83
commit
5dcfa86910
2 changed files with 2 additions and 2 deletions
|
|
@ -161,7 +161,7 @@ void HttpBinaryCacheStore::upsertFile(
|
|||
}
|
||||
}
|
||||
|
||||
FileTransferRequest HttpBinaryCacheStore::makeRequest(const std::string & path)
|
||||
FileTransferRequest HttpBinaryCacheStore::makeRequest(std::string_view path)
|
||||
{
|
||||
/* Otherwise the last path fragment will get discarded. */
|
||||
auto cacheUriWithTrailingSlash = config->cacheUri;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue