Skip to content

Commit

Permalink
feat: expose cache file path
Browse files Browse the repository at this point in the history
  • Loading branch information
evenyag committed Dec 28, 2023
1 parent df87709 commit 1408487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mito2/src/cache/file_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ impl FileCache {
}
}

/// Puts a file into the cache.
/// Puts a file into the cache index.
///
/// Callers should ensure the file is in the correct path.
/// The `WriteCache` should ensure the file is in the correct path.
pub(crate) async fn put(&self, key: IndexKey, value: IndexValue) {
CACHE_BYTES
.with_label_values(&[FILE_TYPE])
Expand Down

0 comments on commit 1408487

Please sign in to comment.