MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / bucket_count

Method bucket_count

atomic-core/src/record/workflow/recipes/content_hash.rs:97–99  ·  view source on GitHub ↗

Number of distinct hash buckets (not total entries).

(&self)

Source from the content-addressed store, hash-verified

95
96 /// Number of distinct hash buckets (not total entries).
97 pub fn bucket_count(&self) -> usize {
98 self.buckets.len()
99 }
100
101 /// Total number of indexed positions across all buckets.
102 pub fn position_count(&self) -> usize {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected