style(server): remove unused get_full_graph method to clear clippy warning

This commit is contained in:
Riz Ashraf committed 2026-09-21 20:12:25 +01:00
1 parent da1b7cdc9d
commit f37a2f8313
1 file changed
-4
-4
View File
@@ -64,10 +64,6 @@ impl MemoryState {
let _ = self.activity_tx.send(payload); let _ = self.activity_tx.send(payload);
} }
pub fn get_full_graph(&self) -> KnowledgeGraph {
self.graph.read_with(|g| g.clone())
}
pub fn read_graph<F, R>(&self, f: F) -> R pub fn read_graph<F, R>(&self, f: F) -> R
where where
F: FnOnce(&KnowledgeGraph) -> R, F: FnOnce(&KnowledgeGraph) -> R,