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

Method clear

graphlite/src/storage/persistent/memory.rs:51–54  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

49 }
50
51 fn clear(&self) -> StorageResult<()> {
52 self.data.write().clear();
53 Ok(())
54 }
55
56 fn is_empty(&self) -> StorageResult<bool> {
57 Ok(self.data.read().is_empty())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected