Build a manifest with a computed (consistent) state.
(
name: &str,
scope: ViewScope,
parent: Option<&str>,
changes: Vec<Hash>,
)
| 561 | |
| 562 | /// Build a manifest with a computed (consistent) state. |
| 563 | fn manifest( |
| 564 | name: &str, |
| 565 | scope: ViewScope, |
| 566 | parent: Option<&str>, |
| 567 | changes: Vec<Hash>, |
| 568 | ) -> ViewManifest { |
| 569 | ViewManifest::new(name, scope, parent.map(str::to_string), changes) |
| 570 | } |
| 571 | |
| 572 | /// Parent lookup backed by a map, for pure chain tests. |
| 573 | fn parents( |
no outgoing calls