Skip to main content

prepare

Function prepare 

Source
pub fn prepare(
    root: &Path,
    git_dir: &Path,
    target: &ScaleTarget,
    runtime: &Path,
) -> Result<Outcome>
Expand description

Record the repository, and seed only an empty standard checkout. A first attempt is cold; normal checkout authenticates and downloads as before. The caller must hold the namespace’s normal runner lease during this call.