pub fn resolve_env_string_with( aliases: &[EnvAlias], read: &dyn Fn(&str) -> Option<String>, ) -> Option<String>
Like resolve_env_string but reads through a closure (for tests that don’t want to mutate process env).
resolve_env_string