MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / get

Method get

crates/opencode-tui/src/context/keybind.rs:208–210  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

206 }
207
208 pub fn get(&self, name: &str) -> Option<&Keybind> {
209 self.bindings.get(name)
210 }
211
212 pub fn match_key(&self, name: &str, code: KeyCode, modifiers: KeyModifiers) -> bool {
213 let Some(kb) = self.bindings.get(name) else {

Callers 15

renderMethod · 0.45
is_collapsedMethod · 0.45
render_sectionsMethod · 0.45
render_headerMethod · 0.45
render_messagesMethod · 0.45
scroll_to_messageMethod · 0.45
load_stashMethod · 0.45
frecency_scoreMethod · 0.45
selected_suggestionMethod · 0.45
confirmMethod · 0.45
handle_clickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected