Skip to main content

resolve_interfaces

Function resolve_interfaces 

Source
pub fn resolve_interfaces(
    ffi: Option<&[InterfaceEntry]>,
    cli_override: Option<&[String]>,
) -> Result<BTreeMap<String, u8>>
Expand description

Resolve the effective [interfaces] map: CLI override wins, else the FFI query, else empty. Returns a BTreeMap so the serialized TOML is deterministic.