(gid: &str)
| 1020 | /// or append a new entry if none exists. |
| 1021 | #[cfg(unix)] |
| 1022 | fn update_group_file(gid: &str) -> Result<()> { |
| 1023 | rewrite_group_at(Path::new("/etc/group"), gid) |
| 1024 | } |
| 1025 | |
| 1026 | #[cfg(unix)] |
| 1027 | fn rewrite_passwd_at(path: &Path, uid: &str, gid: &str) -> Result<()> { |
no test coverage detected