Skip to main content

load_config

Function load_config 

Source
pub fn load_config(explicit: Option<&Path>) -> Result<Config>
Expand description

Loads an explicit configuration file or the first discovered default.

ยงErrors

Returns an error when an explicit file is missing, unreadable, or invalid.