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

Method is_empty

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

`true` if no positions have been indexed.

(&self)

Source from the content-addressed store, hash-verified

105
106 /// `true` if no positions have been indexed.
107 pub fn is_empty(&self) -> bool {
108 self.buckets.is_empty() || self.position_count() == 0
109 }
110}
111
112#[cfg(test)]

Callers 4

consumeMethod · 0.45
build_opsFunction · 0.45

Calls 1

position_countMethod · 0.80

Tested by

no test coverage detected