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

Method position_count

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

Total number of indexed positions across all buckets.

(&self)

Source from the content-addressed store, hash-verified

100
101 /// Total number of indexed positions across all buckets.
102 pub fn position_count(&self) -> usize {
103 self.buckets.values().map(Vec::len).sum()
104 }
105
106 /// `true` if no positions have been indexed.
107 pub fn is_empty(&self) -> bool {

Callers 1

is_emptyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected