Get all tracked file paths (not untracked).
(&self)
| 730 | |
| 731 | /// Get all tracked file paths (not untracked). |
| 732 | pub fn tracked_paths(&self) -> Vec<&Path> { |
| 733 | self.entries |
| 734 | .iter() |
| 735 | .filter(|e| !e.status.is_untracked()) |
| 736 | .map(|e| e.path()) |
| 737 | .collect() |
| 738 | } |
| 739 | } |
| 740 | |
| 741 | impl Default for RepositoryStatus { |