Build a manifest with a computed (consistent) state.
(
name: &str,
scope: ViewScope,
parent: Option<&str>,
changes: Vec<Hash>,
)
| 507 | |
| 508 | /// Build a manifest with a computed (consistent) state. |
| 509 | fn manifest( |
| 510 | name: &str, |
| 511 | scope: ViewScope, |
| 512 | parent: Option<&str>, |
| 513 | changes: Vec<Hash>, |
| 514 | ) -> ViewManifest { |
| 515 | ViewManifest::new(name, scope, parent.map(str::to_string), changes) |
| 516 | } |
| 517 | |
| 518 | /// Parent lookup backed by a map, for pure chain tests. |
| 519 | fn parents( |
no outgoing calls