1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

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
parent 412b3a54fb
commit 3f226f71c1
2 changed files with 5 additions and 5 deletions

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);