Skip to main content

set

Function set 

Source
pub fn set(config: &mut File, key: &str, value: &str) -> Result<()>
Expand description

Sets a dotted key such as filter.git-xcrypt.required, creating what is missing.

ยงErrors

Error::Config when the key cannot be set.