Skip to main content

clone_or_update_repo

Function clone_or_update_repo 

Source
pub fn clone_or_update_repo(
    repo_url: &str,
    repo_dir: &str,
    branch: &str,
) -> Result<String, String>
Expand description

Clone or update a git repository.

Returns the path to the repository directory on success.