pub fn exit_code(settlement: &Settlement) -> i32Expand 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