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

Method remove

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

Source from the content-addressed store, hash-verified

40 }
41
42 fn remove(&self, key: &[u8]) -> StorageResult<()> {
43 self.data.write().remove(key);
44 Ok(())
45 }
46
47 fn contains_key(&self, key: &[u8]) -> StorageResult<bool> {
48 Ok(self.data.read().contains_key(key))

Callers 2

batch_removeMethod · 0.45
drop_indexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected