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

Method is_empty

atomic-core/src/pristine/traits/view.rs:253–255  ·  view source on GitHub ↗

Check if the view has any changes.

(&self)

Source from the content-addressed store, hash-verified

251
252 /// Check if the view has any changes.
253 pub fn is_empty(&self) -> bool {
254 self.change_count == 0
255 }
256
257 /// Check if this is the root view (no parent).
258 #[inline]

Callers 12

is_loadedMethod · 0.45
list_vault_entriesMethod · 0.45
kg_fts_searchMethod · 0.45
kg_fts_match_idsMethod · 0.45
cosine_similarityFunction · 0.45
del_viewMethod · 0.45
put_change_depsMethod · 0.45
cosine_similarityFunction · 0.45
list_vault_entriesMethod · 0.45
kg_fts_searchMethod · 0.45
kg_fts_match_idsMethod · 0.45
kg_neighborsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected