Function get_ini_file_at

Source
pub fn get_ini_file_at(config_path: &str) -> Ini
Expand description

Loads and parses the INI configuration file at config_path.

The path-taking half of get_ini_file(), for a caller that has already resolved the path and wants to keep it - GlobalVars::set_all() retains it so a configuration error can name the file to edit.

ยงPanics

Panics under the same conditions as get_ini_file(): the file is missing, unreadable, or not valid INI.