Skip to main content

read_defaults_config

Function read_defaults_config 

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

Returns the [defaults] mapping from .gitperfconfig.

Each key maps to a static string value used as a fallback when the corresponding [environment] variable is not set. Returns an empty map when the section is absent or the file cannot be parsed.