Skip to content

Commit

Permalink
refactor: Expose CacheMissing::inner field (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus23 authored Feb 16, 2024
1 parent 370fd83 commit bb5a166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion car-mirror/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ mod quick_cache {
/// consecutive `has_block` and `get_block` calls.
#[derive(Debug, Clone)]
pub struct CacheMissing<B: BlockStore> {
inner: B,
/// Access to the inner blockstore
pub inner: B,
has_blocks: Arc<sync::Cache<Cid, bool>>,
}

Expand Down

0 comments on commit bb5a166

Please sign in to comment.