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

Method current

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

Source from the content-addressed store, hash-verified

40 }
41
42 pub fn current(&self) -> &Route {
43 &self.current
44 }
45
46 pub fn navigate(&mut self, route: Route) {
47 if self.current != route {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected