checkout

Function checkout 

Source
pub fn checkout<P, S>(
    proj: RepoId,
    remote: &PublicKey,
    path: P,
    storage: &S,
    bare: bool,
) -> Result<Repository, CheckoutError>
where P: AsRef<Path>, S: ReadStorage,
Expand description

Checkout a project from storage as a working copy. This effectively does a git-clone from storage.