Expand description
Runtime helpers.
The synchronous git invocation helper. No runtime asset locator lives here:
the schemas are bundled into the binary at compile time (include_str!),
clap owns argument parsing, and the error: <msg> + exit(1) contract
lives in src/main.rs.
Structs§
- GitOutput
- Outcome of a git invocation.
Functions§
- run_git
- Synchronously invoke
gitwithargsincwd, returning its status and raw output. A failure to spawn git is not an error here: it yieldsstatus: Nonewith the spawn error surfaced intostderr, so callers can handle it alongside git’s own failures.