Skip to main content

apply_edit

Function apply_edit 

Source
pub fn apply_edit(
    root: &str,
    file: &str,
    old: &str,
    new: &str,
) -> Result<bool, String>
Expand description

Apply a source edit to file (relative to root). Returns Ok(true) if a change was made, Ok(false) if no match, Err on I/O.