mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
addToStoreFromDump(): Take std::string_view
This commit is contained in:
parent
f450edc78b
commit
2d6d9a28eb
8 changed files with 11 additions and 11 deletions
|
|
@ -1208,7 +1208,7 @@ struct RestrictedStore : public virtual RestrictedStoreConfig, public virtual Lo
|
|||
return path;
|
||||
}
|
||||
|
||||
StorePath addToStoreFromDump(Source & dump, const string & name,
|
||||
StorePath addToStoreFromDump(Source & dump, std::string_view name,
|
||||
FileIngestionMethod method = FileIngestionMethod::Recursive, HashType hashAlgo = htSHA256, RepairFlag repair = NoRepair,
|
||||
const StorePathSet & references = StorePathSet()) override
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue