aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info-disk-cache.hh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-01-30 22:15:23 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-02-07 23:34:36 +0100
commit2ceece3ef384385d886f6aed5311d9b6dbbdd6dd (patch)
treeae598195b919806ce65a35ca885fdeb4354a1f51 /src/libstore/nar-info-disk-cache.hh
parent79f62d2dda8603c1f2f471ce20557548db932296 (diff)
NarInfoDiskCache: Prepare reproducer for #3898
Diffstat (limited to 'src/libstore/nar-info-disk-cache.hh')
-rw-r--r--src/libstore/nar-info-disk-cache.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/nar-info-disk-cache.hh b/src/libstore/nar-info-disk-cache.hh
index c185ca5e4..adc14f3bc 100644
--- a/src/libstore/nar-info-disk-cache.hh
+++ b/src/libstore/nar-info-disk-cache.hh
@@ -18,6 +18,7 @@ public:
struct CacheInfo
{
+ int id;
bool wantMassQuery;
int priority;
};
@@ -45,4 +46,6 @@ public:
multiple threads. */
ref<NarInfoDiskCache> getNarInfoDiskCache();
+ref<NarInfoDiskCache> getTestNarInfoDiskCache(Path dbPath);
+
}