Skip to main content

run_git_bounded

Function run_git_bounded 

Source
pub fn run_git_bounded(
    expected: &str,
    cwd: Option<&Path>,
) -> Result<ProcessEvidence, BuildError>
Expand description

Run a bounded git process group that must echo exactly expected on stdout.

The only sanctioned git spawn in the workspace: bounded time and output, process-group cleanup, and a cleared environment. stdout is matched internally and never returned, so the caller learns only pass or fail.