Skip to main content

run_within

Function run_within 

Source
pub async fn run_within(
    git_dir: &Path,
    args: &[&str],
    cap: usize,
    limit: Duration,
) -> Result<GitOut, ForgeError>
Expand description

run with an explicit wall-clock limit.

ยงErrors

As run, plus ForgeError::Backend (timed out) when git outlives limit; the child is killed.