Add files to the accumulated files_touched list (deduplicating).
(&mut self, files: &[String])
| 340 | |
| 341 | /// Add files to the accumulated files_touched list (deduplicating). |
| 342 | pub fn add_files_touched(&mut self, files: &[String]) { |
| 343 | for file in files { |
| 344 | if !self.files_touched.contains(file) { |
| 345 | self.files_touched.push(file.clone()); |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | /// Returns the number of unique files touched across the session. |
| 351 | pub fn files_touched_count(&self) -> u32 { |