Whether Git owns an in-progress operation that must fence a workspace mutation. True when libgit2 reports a non-`Clean` repository state, or when any present marker is authoritative evidence of an active operation (`is_active_operation_evidence`). A standalone `AUTO_MERGE` does not, by itself, count: it is advisory.
(&self)
| 855 | /// (`is_active_operation_evidence`). A standalone |
| 856 | /// `AUTO_MERGE` does not, by itself, count: it is advisory. |
| 857 | pub fn is_in_progress(&self) -> bool { |
| 858 | self.repository_state != "Clean" |
| 859 | || self.markers.iter().any(|marker| { |
| 860 | marker.kind != GitAdminEntryKind::Missing |
| 861 | && marker.marker.is_active_operation_evidence() |
| 862 | }) |
| 863 | } |
| 864 | |
| 865 | /// Every present marker, including advisory ones, for reporting. |
| 866 | pub fn present_markers(&self) -> Vec<GitOperationMarker> { |
no test coverage detected