pub fn clone_or_fetch(url: &str, dest: &Path) -> Result<()>Expand description
Clone url into dest, or fetch all refs if the repo already exists.
ยงErrors
Returns an error if the URL is rejected, the clone directory cannot be created,
or the underlying git clone / git fetch command fails.