Skip to main content

load_config

Function load_config 

Source
pub fn load_config(resolved: Option<&ConfigPath>) -> ConfigLoadOutcome
Expand description

Single config-load entry both runtime and doctor route through. Calls Config::load_validated so unknown-key warnings flow to the caller via the ConfigLoadOutcome::Loaded variant rather than being collected by side effect on a sink.