Entries whose unstaged (Y) column is not Unmodified.
(&self)
| 145 | |
| 146 | /// Entries whose unstaged (Y) column is not Unmodified. |
| 147 | pub fn unstaged(&self) -> impl Iterator<Item = &StagingEntry> { |
| 148 | self.entries |
| 149 | .iter() |
| 150 | .filter(|entry| entry.y != StageCode::Unmodified) |
| 151 | } |
| 152 | |
| 153 | /// Entries reported as untracked (`??`). |
| 154 | pub fn untracked(&self) -> impl Iterator<Item = &StagingEntry> { |