Skip to main content

normalize_bool_config_value

Function normalize_bool_config_value 

Source
pub fn normalize_bool_config_value(key: &str, value: &str) -> Result<String>
Expand description

Normalizes a bool-like runtime configuration value for storage.

Accepted input forms match parse_bool_like_value. The stored value is always the canonical string true or false.