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.cc | |
parent | f450edc78bd3dd4ad865b8d6f7f0f0b8afd01354 (diff) |
addToStoreFromDump(): Take std::string_view
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 6e4458f7a..b3fd991a1 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -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) |