Skip to main content

Module runtime

Module runtime 

Source
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 git with args in cwd, returning its status and raw output. A failure to spawn git is not an error here: it yields status: None with the spawn error surfaced into stderr, so callers can handle it alongside git’s own failures.