Skip to main content

sync_exit_code

Function sync_exit_code 

Source
pub fn sync_exit_code(summary: &SyncSummary) -> u8
Expand description

The process exit code for a finished sync: 0 when it converged with no conflicts, EXIT_CONFLICT when it reports conflicts to resolve or gave up before converging. Both are recoverable outcomes a script retries or acts on, matching delete, reset and collect (#290).