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

Method is_connected

crates/opencode-mcp/src/client.rs:33–35  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

31
32impl McpStatus {
33 pub fn is_connected(&self) -> bool {
34 matches!(self, McpStatus::Connected)
35 }
36
37 pub fn is_failed(&self) -> bool {
38 matches!(self, McpStatus::Failed { .. })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected