Build a manifest with a computed (consistent) state.
(
name: &str,
scope: ViewScope,
parent: Option<&str>,
changes: Vec<Hash>,
)
| 1087 | |
| 1088 | /// Build a manifest with a computed (consistent) state. |
| 1089 | fn manifest( |
| 1090 | name: &str, |
| 1091 | scope: ViewScope, |
| 1092 | parent: Option<&str>, |
| 1093 | changes: Vec<Hash>, |
| 1094 | ) -> ViewManifest { |
| 1095 | ViewManifest::new(name, scope, parent.map(String::from), changes) |
| 1096 | } |
| 1097 | |
| 1098 | /// A leaf→root chain orders root→leaf for apply. |
| 1099 | #[test] |
no outgoing calls