Skip to main content

config_dir_with

Function config_dir_with 

Source
pub fn config_dir_with(
    app: &str,
    env: impl Fn(&str) -> Option<String>,
) -> Option<PathBuf>
Expand description

The application’s configuration folder, from the environment env gives (None: the variables it needs are missing, or on the web).