Returns all affected file paths in a single iterator. Order: modified files first, then added, then deleted. This is the list passed to `RecordOptions::paths` when recording the turn as an Atomic change.
(&self)
| 529 | /// This is the list passed to `RecordOptions::paths` when recording |
| 530 | /// the turn as an Atomic change. |
| 531 | pub fn all_paths(&self) -> Vec<PathBuf> { |
| 532 | let mut paths = Vec::with_capacity(self.file_count()); |
| 533 | paths.extend(self.modified.iter().cloned()); |
| 534 | paths.extend(self.added.iter().cloned()); |
| 535 | paths.extend(self.deleted.iter().cloned()); |
| 536 | paths |
| 537 | } |
| 538 | |
| 539 | /// Returns all affected paths as string slices. |
| 540 | /// |