MCPcopy Create free account
hub / github.com/bajrangCoder/setu / toggle_header

Method toggle_header

src/components/header_editor.rs:218–223  ·  view source on GitHub ↗

Toggle header enabled state

(&mut self, index: usize, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

216 .bulk_editor
217 .as_ref()
218 .map(|editor| editor.read(cx).text().to_string())
219 .unwrap_or_default();
220 let entries = parse_bulk_kv(&text);
221 self.replace_from_bulk_entries(entries, window, cx);
222 self.bulk_mode = false;
223 cx.notify();
224 }
225
226 fn sync_headers_from_request(&mut self, cx: &mut Context<Self>) {

Callers 1

renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected