Function porteurbars::git::clone [] [src]

pub fn clone<P, R>(repo: Url, dir: P, rev: R) -> Result<()> where
    P: AsRef<Path>,
    R: Into<String>, 

clone a repository at a rev to a directory a best attempt effort is made to authenticate requests when required to support private git repositories