Skip to main content

load_settings_from

Function load_settings_from 

Source
pub fn load_settings_from(
    user_dir: Option<&Path>,
    cwd: &Path,
    home_for_tilde: Option<&Path>,
    flag: Option<&str>,
) -> SettingsLoad
Expand description

The env-free core of load_settings: user_dir is the resolved ~/.locode (or None), home_for_tilde backs ~ expansion.