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

Method is_home

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

Source from the content-addressed store, hash-verified

62 }
63
64 pub fn is_home(&self) -> bool {
65 matches!(self.current, Route::Home)
66 }
67
68 pub fn is_session(&self) -> bool {
69 matches!(self.current, Route::Session { .. })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected