Skip to main content

load_config

Function load_config 

Source
pub fn load_config(
    explicit_path: Option<&Path>,
) -> (Option<PathBuf>, ConfigFile)
Expand description

Load and parse a config file. Returns the file path (if found) and the parsed config.

On parse errors, prints a warning to stderr and returns ConfigFile::default().