Skip to main content

read_environment_config

Function read_environment_config 

Source
pub fn read_environment_config() -> HashMap<String, Vec<String>>
Expand description

Returns the [environment] mapping from .gitperfconfig.

Each key maps to one or more environment variable names to look up at measurement time (first non-empty value wins for multi-source lists). Returns an empty map when the section is absent or the file cannot be parsed.