(&self, cx: &App)
| 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>) { |
no test coverage detected