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

Method close

crates/opencode-tui/src/components/dialogs/mcp.rs:53–55  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

51 }
52
53 pub fn close(&mut self) {
54 self.open = false;
55 }
56
57 pub fn is_open(&self) -> bool {
58 self.open

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected