Remove the temporary parking view, if scaffold reconciliation created it. Best-effort: a leftover parking view is cosmetic.
(&self, repo: &mut Repository)
| 557 | /// Remove the temporary parking view, if scaffold reconciliation |
| 558 | /// created it. Best-effort: a leftover parking view is cosmetic. |
| 559 | fn remove_park_view(&self, repo: &mut Repository) { |
| 560 | if let Ok(true) = repo.view_exists(SCAFFOLD_PARK_VIEW) { |
| 561 | let _ = repo.set_view_scope(SCAFFOLD_PARK_VIEW, ViewScope::Draft); |
| 562 | if let Err(e) = repo.delete_view(SCAFFOLD_PARK_VIEW) { |
| 563 | log::warn!( |
| 564 | "could not remove temporary view '{}': {}", |
| 565 | SCAFFOLD_PARK_VIEW, |
| 566 | e |
| 567 | ); |
| 568 | } |
| 569 | } |
| 570 | } |
| 571 | |
| 572 | /// Apply manifests in root→leaf order, reconciling scaffold views first. |
| 573 | /// |
no test coverage detected