Skip to main content

exit_code

Function exit_code 

Source
pub fn exit_code(settlement: &Settlement) -> i32
Expand description

What: The exit status of a settled invocation. Why: A copy-only failure is 2; Git’s own status is kept when Git failed; a signal without a status is 1.

In TS you’d write (pseudocode):

// src/bin.ts: copy failure 2, Git status kept, signal 1