Skip to main content

run_git_with_timeout

Function run_git_with_timeout 

Source
pub fn run_git_with_timeout(
    repo_path: &Path,
    args: &[&str],
    timeout: Duration,
) -> Result<RunOutput, RunError>
Expand description

Run a git command with a timeout.

Shorthand for run_cmd_in_with_timeout(repo_path, "git", args, timeout).