MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / batch_remove

Method batch_remove

graphlite/src/storage/persistent/memory.rs:101–107  ·  view source on GitHub ↗
(&self, keys: &[&[u8]])

Source from the content-addressed store, hash-verified

99 }
100
101 fn batch_remove(&self, keys: &[&[u8]]) -> StorageResult<()> {
102 let mut data = self.data.write();
103 for key in keys {
104 data.remove(*key);
105 }
106 Ok(())
107 }
108
109 fn flush(&self) -> StorageResult<()> {
110 // No-op for memory storage

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected