aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-23 14:40:41 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-09-23 14:40:41 +0000
commit3f226f71c185b2fbaaabb01bd0f3ba3cd4a39612 (patch)
tree807decfe8ab2d1d422cfd7b3a90d43e01afb70b5 /src/libstore/binary-cache-store.hh
parent412b3a54fb02cdf49cb084a925bd14c24e14aea8 (diff)
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>
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index ce69ad3b4..5224d7ec8 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -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);