Entries reported as untracked (`??`).
(&self)
| 152 | |
| 153 | /// Entries reported as untracked (`??`). |
| 154 | pub fn untracked(&self) -> impl Iterator<Item = &StagingEntry> { |
| 155 | self.entries |
| 156 | .iter() |
| 157 | .filter(|entry| entry.x == StageCode::Untracked && entry.y == StageCode::Untracked) |
| 158 | } |
| 159 | |
| 160 | /// True when no staged, unstaged, or untracked entry exists. |
| 161 | pub fn is_clean(&self) -> bool { |