MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / clear

Method clear

nodedb/src/engine/kv/index.rs:113–115  ·  view source on GitHub ↗

Clear all entries (used during DROP INDEX).

(&mut self)

Source from the content-addressed store, hash-verified

111
112 /// Clear all entries (used during DROP INDEX).
113 pub fn clear(&mut self) {
114 self.tree.clear();
115 }
116}
117
118/// A composite secondary index on multiple value fields.

Callers 13

dropMethod · 0.45
poll_oneMethod · 0.45
free_nodeMethod · 0.45
with_tenant_keyFunction · 0.45
with_tenant_key4Function · 0.45
clear_and_reloadMethod · 0.45
clear_and_reloadMethod · 0.45
restoreMethod · 0.45
clear_and_reloadMethod · 0.45
drain_dueMethod · 0.45
clear_and_reloadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected