Skip to main content

rewrite_key

Function rewrite_key 

Source
pub fn rewrite_key(
    target: &Path,
    key: &str,
    value: Value,
) -> Result<(), RkError>
Expand description

Change one landing parameter while preserving comments and table ordering.

ยงErrors

Refuses an invalid key, invalid resulting content, or unreadable file; writes atomically.