Build a manifest with a computed (consistent) state.
(
name: &str,
scope: ViewScope,
parent: Option<&str>,
changes: Vec<Hash>,
)
| 518 | |
| 519 | /// Build a manifest with a computed (consistent) state. |
| 520 | fn manifest( |
| 521 | name: &str, |
| 522 | scope: ViewScope, |
| 523 | parent: Option<&str>, |
| 524 | changes: Vec<Hash>, |
| 525 | ) -> ViewManifest { |
| 526 | ViewManifest::new(name, scope, parent.map(str::to_string), changes) |
| 527 | } |
| 528 | |
| 529 | /// Parent lookup backed by a map, for pure chain tests. |
| 530 | fn parents( |
no outgoing calls