Remove the temporary parking view, if scaffold reconciliation created it. Best-effort: a leftover parking view is cosmetic.
(&self, repo: &mut Repository)
| 767 | /// Remove the temporary parking view, if scaffold reconciliation |
| 768 | /// created it. Best-effort: a leftover parking view is cosmetic. |
| 769 | fn remove_park_view(&self, repo: &mut Repository) { |
| 770 | if let Ok(true) = repo.view_exists(SCAFFOLD_PARK_VIEW) { |
| 771 | let _ = repo.set_view_scope(SCAFFOLD_PARK_VIEW, ViewScope::Draft); |
| 772 | if let Err(e) = repo.delete_view(SCAFFOLD_PARK_VIEW) { |
| 773 | log::warn!( |
| 774 | "could not remove temporary view '{}': {}", |
| 775 | SCAFFOLD_PARK_VIEW, |
| 776 | e |
| 777 | ); |
| 778 | } |
| 779 | } |
| 780 | } |
| 781 | |
| 782 | /// Apply manifests in root→leaf order, reconciling scaffold views first. |
| 783 | /// |
no test coverage detected