(path: &Path)
| 4173 | |
| 4174 | #[cfg(unix)] |
| 4175 | async fn restrict_owner_only_dir(path: &Path) -> Result<(), std::io::Error> { |
| 4176 | tokio::fs::set_permissions(path, fs::Permissions::from_mode(0o700)).await |
| 4177 | } |
| 4178 | |
| 4179 | #[cfg(not(unix))] |
| 4180 | async fn restrict_owner_only_dir(_path: &Path) -> Result<(), std::io::Error> { |
no outgoing calls
no test coverage detected