Skip to main content

app_paths_with_options

Function app_paths_with_options 

Source
pub fn app_paths_with_options(
    options: AppPathsOptions,
) -> Result<AppPaths, PathError>
Expand description

Resolve application paths with explicit options.

§Environment override

When an override variable is set and non-empty, its value is expanded with expand_input (tilde, %VAR%, $VAR) and used as the application root. Relative override values are made absolute against the current directory.

§Filesystem access

Platform directory lookup always. Optional directory creation when requested. May read the current directory only to absolutize a relative override.