One manifest render state for the divergence block — the local `format_manifest_state` over wire-carried data.
(state: &Option<pb::ManifestState>)
| 5346 | /// One manifest render state for the divergence block — the local |
| 5347 | /// `format_manifest_state` over wire-carried data. |
| 5348 | fn manifest_state_text(state: &Option<pb::ManifestState>) -> String { |
| 5349 | match state { |
| 5350 | Some(state) if state.change_count > 0 => { |
| 5351 | format!( |
| 5352 | "{} ({} changes)", |
| 5353 | &state.state[..12.min(state.state.len())], |
| 5354 | state.change_count |
| 5355 | ) |
| 5356 | } |
| 5357 | _ => "(empty)".to_string(), |
| 5358 | } |
| 5359 | } |
| 5360 | |
| 5361 | /// `atomic push` over PushChanges — every form. The handler performs the |
| 5362 | /// network sync end to end and returns the structured report; the CLI |
nothing calls this directly
no outgoing calls
no test coverage detected