Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions foyer/src/hybrid/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,11 @@ where
&self.inner.memory
}

/// Access the disk cache.
pub fn storage(&self) -> &Store<K, V, S, HybridCacheProperties> {
&self.inner.storage
}

/// Enable tracing.
#[cfg(feature = "tracing")]
pub fn enable_tracing(&self) {
Expand Down Expand Up @@ -847,10 +852,6 @@ where
self.inner.storage.is_enabled()
}

pub(crate) fn storage(&self) -> &Store<K, V, S, HybridCacheProperties> {
&self.inner.storage
}

pub(crate) fn metrics(&self) -> &Arc<Metrics> {
&self.inner.metrics
}
Expand Down
Loading