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:
parent
412b3a54fb
commit
3f226f71c1
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue