Skip to main content

format_sync_report

Function format_sync_report 

Source
pub fn format_sync_report(name: &str, report: &SyncReport) -> String
Expand description

Render a successful SyncReport as a single ✓ status line. The error paths (dirty tree, missing upstream, conflicts) surface as GwmError and are printed by main’s top-level handler, so this only ever formats the success cases.