Function origen::utility::file_actions::remove_line [−][src]
pub fn remove_line(file: &Path, regex: &Regex) -> Result<bool>
Expand description
Remove the first line in the given file that matches the given regex. Returns true if the file was modified.