Add a successfully collected file.
(&mut self, file: T)
| 246 | |
| 247 | /// Add a successfully collected file. |
| 248 | pub fn add(&mut self, file: T) { |
| 249 | self.files.push(file); |
| 250 | } |
| 251 | |
| 252 | /// Record an error for a path. |
| 253 | pub fn add_error(&mut self, path: impl Into<String>, error: impl Into<String>) { |