Returns all affected paths as string slices. Paths that are not valid UTF-8 are skipped. This is the format needed by `RecordOptions::paths` which takes `Vec `.
(&self)
| 541 | /// Paths that are not valid UTF-8 are skipped. This is the format |
| 542 | /// needed by `RecordOptions::paths` which takes `Vec<String>`. |
| 543 | pub fn all_path_strings(&self) -> Vec<String> { |
| 544 | self.all_paths() |
| 545 | .iter() |
| 546 | .filter_map(|p| p.to_str().map(|s| s.to_string())) |
| 547 | .collect() |
| 548 | } |
| 549 | |
| 550 | /// Merge another `TurnChanges` into this one. |
| 551 | /// |