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

Method list_trees

graphlite/src/storage/persistent/sled.rs:129–137  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

127 }
128
129 fn list_trees(&self) -> StorageResult<Vec<String>> {
130 let tree_names = self
131 .db
132 .tree_names()
133 .into_iter()
134 .map(|name| String::from_utf8_lossy(&name).to_string())
135 .collect();
136 Ok(tree_names)
137 }
138
139 fn flush(&self) -> StorageResult<()> {
140 self.db

Callers 2

list_graphsMethod · 0.45
list_indexesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected