Skip to main content

classify_config_entry

Function classify_config_entry 

Source
pub fn classify_config_entry(
    extension_id: &str,
    entry: &ExtensionConfigEntry,
    env_lookup: &impl Fn(&str) -> Option<String>,
    plugin_config_lookup: &impl Fn(&str) -> Option<String>,
    legacy_config_lookup: &impl Fn(&str) -> Option<String>,
) -> ConfigEntryStatus
Expand description

Classify a config entry against the same resolution order as manager::resolve_config, using injected lookup closures so callers (and tests) need not touch real std::env or persisted config.