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

Method is_collapsed

crates/opencode-tui/src/components/sidebar.rs:112–117  ·  view source on GitHub ↗
(&self, section_key: &'static str)

Source from the content-addressed store, hash-verified

110 }
111
112 fn is_collapsed(&self, section_key: &'static str) -> bool {
113 self.collapsed_sections
114 .get(section_key)
115 .copied()
116 .unwrap_or(false)
117 }
118
119 fn scroll_up(&mut self) {
120 if self.scroll_offset > 0 {

Callers 1

render_sectionsMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected