git_clone

Function git_clone 

Source
fn git_clone(url: &str, branch: &str, shallow: bool, dest: &Path) -> Result<()>
Expand description

Clone a Git repository into the cache directory.

Supports shallow clones (--depth 1) and single-branch checkout.