resolve_option

Function resolve_option 

Source
pub fn resolve_option(
    adapters_dir: &Path,
    option: &str,
) -> Result<(AdapterRecord, Manifest), RegistryError>
Expand description

Resolve an adapter option (<adapter> or <adapter>:<profile>) to its record and complete, validated manifest — the single entry point every composite-addressing consumer calls. A bare name returns the parent unmodified (short-circuit). A profile is looked up shipped-first (the adapter’s [profiles.<name>]), then as a local overlay file; the two namespaces are disjoint (locals may not shadow shipped).