Skip to main content

prepare

Function prepare 

Source
pub async fn prepare<'a>(
    config: &RepoConfig,
    artifacts: impl IntoIterator<Item = &'a ArtifactName>,
    output_root: &Path,
    parallelism: &Parallelism,
    cancellation: CancellationToken,
) -> Result<BTreeMap<&'a ArtifactName, PreparedFingerprint>, String>
Expand description

Prepare only the selected dependency closure, once per Artifact, computing up to the parallelism’s limit of fingerprints at a time. The result does not depend on completion order: a failure reports the first failing Artifact in input order, and fingerprints after it are cancelled because they cannot change which failure that is.