MCPcopy Create free account
hub / github.com/GCWing/BitFun / reshow

Method reshow

src/apps/cli/src/ui/provider_selector.rs:175–181  ·  view source on GitHub ↗

Reshow the provider selector (for back navigation)

(&mut self)

Source from the content-addressed store, hash-verified

173
174 /// Reshow the provider selector (for back navigation)
175 pub fn reshow(&mut self) {
176 if !self.templates.is_empty() || !builtin_provider_templates().is_empty() {
177 self.templates = builtin_provider_templates();
178 self.build_rows();
179 self.visible = true;
180 }
181 }
182
183 fn build_rows(&mut self) {
184 self.rows.clear();

Callers

nothing calls this directly

Calls 3

build_rowsMethod · 0.80
is_emptyMethod · 0.45

Tested by

no test coverage detected