The local materialization report line + inline conflict summary over the wire-carried counts — rendered with the same output functions the local bodies use (the view/tag bodies finish a spinner; the single/multi bodies print success), byte-identical by construction.
(response: &pb::InsertChangesResponse, via_spinner: bool)
| 4042 | /// local bodies use (the view/tag bodies finish a spinner; the |
| 4043 | /// single/multi bodies print success), byte-identical by construction. |
| 4044 | fn print_insert_refresh(response: &pb::InsertChangesResponse, via_spinner: bool) { |
| 4045 | if let (Some(files), Some(directories)) = (response.files_updated, response.directories_created) |
| 4046 | { |
| 4047 | if via_spinner { |
| 4048 | let spinner = crate::output::create_spinner("Materializing files for view..."); |
| 4049 | crate::output::finish_success( |
| 4050 | &spinner, |
| 4051 | &format!("{files} files updated, {directories} directories"), |
| 4052 | ); |
| 4053 | } else { |
| 4054 | print_success(&format!("{files} files updated, {directories} directories")); |
| 4055 | } |
| 4056 | super::insert::print_conflict_summary_entries(&insert_conflict_entries(response)); |
| 4057 | } |
| 4058 | } |
| 4059 | |
| 4060 | /// `atomic insert <ref>` over InsertChanges — the raw reference rides the |
| 4061 | /// single-ref arm (the handler resolves it with the local resolver's |
no test coverage detected