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