pub fn replace_content( project: &ProjectRoot, relative_path: &str, old_text: &str, new_text: &str, regex_mode: bool, ) -> Result<(String, usize)>