Add files to the accumulated files_touched list (deduplicating).
(&mut self, files: &[String])
| 306 | |
| 307 | /// Add files to the accumulated files_touched list (deduplicating). |
| 308 | pub fn add_files_touched(&mut self, files: &[String]) { |
| 309 | for file in files { |
| 310 | if !self.files_touched.contains(file) { |
| 311 | self.files_touched.push(file.clone()); |
| 312 | } |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | /// Returns the number of unique files touched across the session. |
| 317 | pub fn files_touched_count(&self) -> u32 { |