Skip to main content

clone_git_repo

Function clone_git_repo 

Source
pub fn clone_git_repo(url: &str) -> Result<(), Error>
Expand description

Clones a git repository into the local git root.

ยงErrors

Returns an error if:

  • The target directory already exists.
  • The git clone command fails.
  • The user configuration cannot be updated.