Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    config: &Config,
    name: &str,
    source: &impl Source,
) -> Result<ResolvedPlan>
Expand description

Resolve name from config, preserving original metadata and freezing payload hashes.

Reads manifests, checksum/signature sidecars and bootstrap checksums through source. No compiler archive is downloaded and no files are written. Follow with ResolvedPlan::save and fetch to transfer payloads.

ยงErrors

Refuses invalid config, unknown selection, unavailable components/hosts/targets, malformed/incoherent metadata, or transport/size failures.