Skip to main content

toggle_value_from

Function toggle_value_from 

Source
pub fn toggle_value_from(path: &Path, key: &str) -> Option<bool>
Expand description

Same as toggle_value but against an explicit path (tests). KEY=false|0|off disables; KEY=true|1|on enables; anything else is treated as absent. Lines starting with # are ignored.