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

Method is_session

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

Source from the content-addressed store, hash-verified

66 }
67
68 pub fn is_session(&self) -> bool {
69 matches!(self.current, Route::Session { .. })
70 }
71
72 pub fn session_id(&self) -> Option<&str> {
73 match &self.current {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected