Skip to main content

set_string_at

Function set_string_at 

Source
pub fn set_string_at(path: &Path, key: &str, raw_value: &str) -> Result<()>
Expand description

String-forced variant of set_value_at for free-text Settings fields (issue #279 review P2): always writes the value as a TOML string, so a shell/editor command or worktree value like 123 / true is preserved as text rather than coerced to a number/bool by parse_scalar (which would then fail Config validation and, pre-fix, leave the file invalid).