Skip to content

Commit

Permalink
restore disk_space_used function
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Jun 9, 2024
1 parent 92f048d commit 234c9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ impl SegmentManifest {
.collect()
}

/* /// Returns the amount of bytes on disk that are occupied by blobs.
/// Returns the amount of bytes on disk that are occupied by blobs.
#[must_use]
pub fn disk_space_used(&self) -> u64 {
self.segments
Expand All @@ -303,7 +303,7 @@ impl SegmentManifest {
.values()
.map(|x| x.meta.compressed_bytes)
.sum::<u64>()
} */
}

/// Returns the amount of stale bytes
#[must_use]
Expand Down

0 comments on commit 234c9ee

Please sign in to comment.