Remove the temporary parking view, if scaffold reconciliation created it. Best-effort: a leftover parking view is cosmetic.
(&self, repo: &mut Repository)
| 645 | /// Remove the temporary parking view, if scaffold reconciliation |
| 646 | /// created it. Best-effort: a leftover parking view is cosmetic. |
| 647 | fn remove_park_view(&self, repo: &mut Repository) { |
| 648 | if let Ok(true) = repo.view_exists(SCAFFOLD_PARK_VIEW) { |
| 649 | let _ = repo.set_view_scope(SCAFFOLD_PARK_VIEW, ViewScope::Draft); |
| 650 | if let Err(e) = repo.delete_view(SCAFFOLD_PARK_VIEW) { |
| 651 | log::warn!( |
| 652 | "could not remove temporary view '{}': {}", |
| 653 | SCAFFOLD_PARK_VIEW, |
| 654 | e |
| 655 | ); |
| 656 | } |
| 657 | } |
| 658 | } |
| 659 | |
| 660 | /// Apply manifests in root→leaf order, reconciling scaffold views first. |
| 661 | /// |
no test coverage detected