pub fn edit_file_multi(
path: &Path,
edits: &[(String, String)],
) -> Result<Vec<String>>Expand description
Apply multiple (old_string → new_string) replacements to a file in one call.
All replacements are validated before any are applied: if any old_string is
not found, the entire operation fails with an index hint.