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

Method close

crates/opencode-tui/src/components/dialogs/provider.rs:52–56  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected