MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / session_id

Method session_id

crates/opencode-tui/src/router.rs:72–77  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

70 }
71
72 pub fn session_id(&self) -> Option<&str> {
73 match &self.current {
74 Route::Session { session_id } => Some(session_id),
75 _ => None,
76 }
77 }
78}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected