mirror of
https://github.com/NixOS/nix
synced 2025-06-26 07:31:15 +02:00
addToStoreFromDump(): Take std::string_view
This commit is contained in:
parent
f450edc78b
commit
2d6d9a28eb
8 changed files with 11 additions and 11 deletions
|
@ -307,7 +307,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, Source & narSource
|
|||
}});
|
||||
}
|
||||
|
||||
StorePath BinaryCacheStore::addToStoreFromDump(Source & dump, const string & name,
|
||||
StorePath BinaryCacheStore::addToStoreFromDump(Source & dump, std::string_view name,
|
||||
FileIngestionMethod method, HashType hashAlgo, RepairFlag repair, const StorePathSet & references)
|
||||
{
|
||||
if (method != FileIngestionMethod::Recursive || hashAlgo != htSHA256)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue