From d0634cfe62080cdb6057369107e8af70b182aa8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Thu, 15 Feb 2024 20:47:46 +0100 Subject: [PATCH] refactor: Expose `CacheMissing::inner` field --- car-mirror/src/cache.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/car-mirror/src/cache.rs b/car-mirror/src/cache.rs index 6613a24..ef3b7ac 100644 --- a/car-mirror/src/cache.rs +++ b/car-mirror/src/cache.rs @@ -131,7 +131,8 @@ mod quick_cache { /// consecutive `has_block` and `get_block` calls. #[derive(Debug, Clone)] pub struct CacheMissing { - inner: B, + /// Access to the inner blockstore + pub inner: B, has_blocks: Arc>, }