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)
| 4008 | /// local bodies use (the view/tag bodies finish a spinner; the |
| 4009 | /// single/multi bodies print success), byte-identical by construction. |
| 4010 | fn print_insert_refresh(response: &pb::InsertChangesResponse, via_spinner: bool) { |
| 4011 | if let (Some(files), Some(directories)) = (response.files_updated, response.directories_created) |
| 4012 | { |
| 4013 | if via_spinner { |
| 4014 | let spinner = crate::output::create_spinner("Materializing files for view..."); |
| 4015 | crate::output::finish_success( |
| 4016 | &spinner, |
| 4017 | &format!("{files} files updated, {directories} directories"), |
| 4018 | ); |
| 4019 | } else { |
| 4020 | print_success(&format!("{files} files updated, {directories} directories")); |
| 4021 | } |
| 4022 | super::insert::print_conflict_summary_entries(&insert_conflict_entries(response)); |
| 4023 | } |
| 4024 | } |
| 4025 | |
| 4026 | /// `atomic insert <ref>` over InsertChanges — the raw reference rides the |
| 4027 | /// single-ref arm (the handler resolves it with the local resolver's |
no test coverage detected