Whether Git owns an in-progress operation. True when libgit2 reports a non-`Clean` state or an authoritative marker is present; a standalone `AUTO_MERGE` is advisory and does not, by itself, count.
(&self)
| 273 | /// non-`Clean` state or an authoritative marker is present; a standalone |
| 274 | /// `AUTO_MERGE` is advisory and does not, by itself, count. |
| 275 | pub fn is_in_progress(&self) -> bool { |
| 276 | self.repository_state != "Clean" |
| 277 | || self |
| 278 | .markers |
| 279 | .iter() |
| 280 | .any(|marker| marker.is_present() && marker.marker.is_active_operation_evidence()) |
| 281 | } |
| 282 | |
| 283 | /// Every present marker, including advisory ones, for reporting. |
| 284 | pub fn present_markers(&self) -> Vec<OperationMarkerKind> { |
no test coverage detected