Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphLite-AI/GraphLite
/ clear
Method
clear
graphlite/src/storage/persistent/sled.rs:48–52 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
46
}
47
48
fn clear(&self) -> StorageResult<()> {
49
self.tree
50
.clear()
51
.map_err(|e| StorageDriverError::BackendSpecific(e.to_string()))
52
}
53
54
fn is_empty(&self) -> StorageResult<bool> {
55
Ok(self.tree.is_empty())
Callers
1
reset
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected