Skip to main content

ensure_clone

Function ensure_clone 

Source
pub fn ensure_clone(
    url: &str,
    dest: &Path,
    creds: &dyn Credentials,
) -> Result<(), Error>
Expand description

Clone url into parent/<name> with your git credentials; returns the new folder. comindly’s own copy of url at dest: cloned once, without a checkout (indexing uses its worktree) and without file contents until needed; later runs only fetch.