Searched refs:new_content (Results 1 – 1 of 1) sorted by relevance
105 let mut new_content = String::new(); in write_group_file() localVariable119 new_content.push_str(format!("{}\n", field.join(":")).as_str()); in write_group_file()124 guard.group_file.write_all(new_content.as_bytes()).unwrap(); in write_group_file()147 let mut new_content = String::new(); in write_gshadow_file() localVariable161 new_content.push_str(format!("{}\n", field.join(":")).as_str()); in write_gshadow_file()170 .write_all(new_content.as_bytes()) in write_gshadow_file()201 let new_content = lines in update_passwd_file() localVariable212 guard.passwd_file.write_all(new_content.as_bytes()).unwrap(); in update_passwd_file()220 let mut new_content = String::new(); in update_group_file() localVariable234 new_content.push_str(format!("{}\n", field.join(":").as_str()).as_str()); in update_group_file()[all …]