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

Method set_current_graph

graphlite/src/session/models.rs:250–253  ·  view source on GitHub ↗

Set the current graph for this session

(&mut self, graph_path: Option<String>)

Source from the content-addressed store, hash-verified

248
249 /// Set the current graph for this session
250 pub fn set_current_graph(&mut self, graph_path: Option<String>) {
251 self.current_graph = graph_path;
252 self.update_activity();
253 }
254
255 /// Get the current graph for this session
256 pub fn get_current_graph(&self) -> Option<&String> {

Callers

nothing calls this directly

Calls 3

update_activityMethod · 0.80
contains_keyMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected