1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 02:01:48 +02:00

addToStoreFromDump(): Take std::string_view

This commit is contained in:
Eelco Dolstra 2022-02-15 15:08:06 +01:00
parent f450edc78b
commit 2d6d9a28eb
8 changed files with 11 additions and 11 deletions

View file

@ -499,7 +499,7 @@ public:
false).
`dump` may be drained */
// FIXME: remove?
virtual StorePath addToStoreFromDump(Source & dump, const string & name,
virtual StorePath addToStoreFromDump(Source & dump, std::string_view name,
FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair,
const StorePathSet & references = StorePathSet())
{ unsupported("addToStoreFromDump"); }