Add files to the accumulated files_touched list (deduplicating).
(&mut self, files: &[String])
| 465 | |
| 466 | /// Add files to the accumulated files_touched list (deduplicating). |
| 467 | pub fn add_files_touched(&mut self, files: &[String]) { |
| 468 | for file in files { |
| 469 | if !self.files_touched.contains(file) { |
| 470 | self.files_touched.push(file.clone()); |
| 471 | } |
| 472 | } |
| 473 | } |
| 474 | |
| 475 | /// Returns the number of unique files touched across the session. |
| 476 | pub fn files_touched_count(&self) -> u32 { |