diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-02-15 15:08:06 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-02-16 11:02:35 +0100 |
commit | 2d6d9a28ebb17b1ba1fe0dc4d56b6aa311f94d39 (patch) | |
tree | 31bf1782dafe46367a02458f5810135df047ae48 /src/libstore/binary-cache-store.hh | |
parent | f450edc78bd3dd4ad865b8d6f7f0f0b8afd01354 (diff) |
addToStoreFromDump(): Take std::string_view
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r-- | src/libstore/binary-cache-store.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh index 7599230d9..5b5d064f3 100644 --- a/src/libstore/binary-cache-store.hh +++ b/src/libstore/binary-cache-store.hh @@ -98,8 +98,8 @@ public: void addToStore(const ValidPathInfo & info, Source & narSource, RepairFlag repair, CheckSigsFlag checkSigs) override; - StorePath addToStoreFromDump(Source & dump, const string & name, - FileIngestionMethod method, HashType hashAlgo, RepairFlag repair, const StorePathSet & references ) override; + StorePath addToStoreFromDump(Source & dump, std::string_view name, + FileIngestionMethod method, HashType hashAlgo, RepairFlag repair, const StorePathSet & references) override; StorePath addToStore(const string & name, const Path & srcPath, FileIngestionMethod method, HashType hashAlgo, |