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

Method set_current_graph

graphlite/src/exec/context.rs:205–207  ·  view source on GitHub ↗

Set the current graph for execution

(&mut self, graph: std::sync::Arc<crate::storage::GraphCache>)

Source from the content-addressed store, hash-verified

203
204 /// Set the current graph for execution
205 pub fn set_current_graph(&mut self, graph: std::sync::Arc<crate::storage::GraphCache>) {
206 self.current_graph = Some(graph);
207 }
208
209 /// Get session ID
210 #[allow(dead_code)] // Session ID accessor for session management and logging

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected