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

Method get_current_graph_name

graphlite/src/exec/context.rs:173–177  ·  view source on GitHub ↗

Get current graph name from session

(&self)

Source from the content-addressed store, hash-verified

171
172 /// Get current graph name from session
173 pub fn get_current_graph_name(&self) -> Option<String> {
174 let session_arc = self.get_session()?;
175 let user_session = session_arc.read().ok()?;
176 user_session.current_graph.clone()
177 }
178
179 /// Get current schema from session
180 pub fn get_current_schema(&self) -> Option<String> {

Calls 2

cloneMethod · 0.80
get_sessionMethod · 0.45

Tested by

no test coverage detected