(path: &Path)
| 4167 | } |
| 4168 | |
| 4169 | async fn create_private_dir_all(path: &Path) -> Result<(), std::io::Error> { |
| 4170 | tokio::fs::create_dir_all(path).await?; |
| 4171 | restrict_owner_only_dir(path).await |
| 4172 | } |
| 4173 | |
| 4174 | #[cfg(unix)] |
| 4175 | async fn restrict_owner_only_dir(path: &Path) -> Result<(), std::io::Error> { |
no test coverage detected