Skip to main content

clone_or_fetch

Function clone_or_fetch 

Source
pub fn clone_or_fetch(url: &str, dest: &Path) -> Result<(), GitError>
Expand description

Clone url into dest if empty; otherwise git fetch in place.