Return more info from BinaryCacheStore::addToStoreCommon

We don't need it yet, but we could/should in the future, and it's a
cost-free change since we already have the reference. I like it.

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
John Ericson
2020-09-23 14:40:41 +00:00
co-authored by Robert Hensing
parent 412b3a54fb
commit 3f226f71c1
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ private:
void writeNarInfo(ref<NarInfo> narInfo);
StorePath addToStoreCommon(
ref<const ValidPathInfo> addToStoreCommon(
Source & narSource, RepairFlag repair, CheckSigsFlag checkSigs,
std::function<ValidPathInfo(HashResult)> mkInfo);