Skip to main content

resolve_env_string_with

Function resolve_env_string_with 

Source
pub fn resolve_env_string_with(
    aliases: &[EnvAlias],
    read: &dyn Fn(&str) -> Option<String>,
) -> Option<String>
Expand description

Like resolve_env_string but reads through a closure (for tests that don’t want to mutate process env).