Skip to main content

git_clone_with_fallback

Function git_clone_with_fallback 

Source
pub fn git_clone_with_fallback(
    url: &str,
    target: &Path,
    printer: &Printer,
) -> Result<(), String>
Expand description

Clone a git repo with git CLI (with live progress), falling back to libgit2. Returns Ok(()) on success, Err with description on failure.