MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / clear

Method clear

core/src/memory/vector.rs:93–96  ·  view source on GitHub ↗

Remove all entries from the index.

(&self)

Source from the content-addressed store, hash-verified

91
92 /// Remove all entries from the index.
93 pub async fn clear(&self) {
94 let mut entries = self.entries.write().await;
95 entries.clear();
96 }
97}
98
99#[cfg(test)]

Calls

no outgoing calls