Home
last modified time | relevance | path

Searched refs:new_content (Results 1 – 1 of 1) sorted by relevance

/DragonOS/user/apps/user-manage/src/executor/
H A Dexecutor.rs105 let mut new_content = String::new(); in write_group_file() localVariable
119 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() localVariable
161 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() localVariable
212 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() localVariable
234 new_content.push_str(format!("{}\n", field.join(":").as_str()).as_str()); in update_group_file()
[all …]