Skip to main content

state_dir_with

Function state_dir_with 

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

The application’s state directory, from the environment env gives (none: the variables it needs are missing).