Remove the temporary parking view, if scaffold reconciliation created it. Best-effort: a leftover parking view is cosmetic.
(&self, repo: &mut Repository)
| 658 | /// Remove the temporary parking view, if scaffold reconciliation |
| 659 | /// created it. Best-effort: a leftover parking view is cosmetic. |
| 660 | fn remove_park_view(&self, repo: &mut Repository) { |
| 661 | if let Ok(true) = repo.view_exists(SCAFFOLD_PARK_VIEW) { |
| 662 | let _ = repo.set_view_scope(SCAFFOLD_PARK_VIEW, ViewScope::Draft); |
| 663 | if let Err(e) = repo.delete_view(SCAFFOLD_PARK_VIEW) { |
| 664 | log::warn!( |
| 665 | "could not remove temporary view '{}': {}", |
| 666 | SCAFFOLD_PARK_VIEW, |
| 667 | e |
| 668 | ); |
| 669 | } |
| 670 | } |
| 671 | } |
| 672 | |
| 673 | /// Apply manifests in root→leaf order, reconciling scaffold views first. |
| 674 | /// |
no test coverage detected