[][src]Function git_mirror::mirror_repo

pub fn mirror_repo(
    mirror_dir: &Path,
    origin: &str,
    destination: &str,
    dry_run: bool,
    git_executable: String,
    refspec: &Option<Vec<String>>
) -> Result<(), String>