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

Method get_fields

src/components/multipart_form_data_editor.rs:114–124  ·  view source on GitHub ↗
(&self, cx: &App)

Source from the content-addressed store, hash-verified

112 }
113
114 pub fn set_file_for_row(
115 &mut self,
116 index: usize,
117 path: PathBuf,
118 _window: &mut Window,
119 cx: &mut Context<Self>,
120 ) {
121 if let Some(row) = self.rows.get_mut(index) {
122 row.file_path = Some(path);
123 cx.notify();
124 }
125 }
126
127 pub fn clear_file_for_row(&mut self, index: usize, cx: &mut Context<Self>) {

Callers 2

get_form_dataMethod · 0.45
get_multipart_fieldsMethod · 0.45

Calls 1

textMethod · 0.80

Tested by

no test coverage detected