Skip to main content

run_git_with_retry

Function run_git_with_retry 

Source
pub fn run_git_with_retry(
    repo_path: &Path,
    args: &[&str],
    is_transient: impl Fn(&RunError) -> bool + Send + Sync + 'static,
) -> Result<RunOutput, RunError>
Expand description

Run a git command with retry on transient errors.