(path: &Path)
| 4450 | |
| 4451 | #[cfg(unix)] |
| 4452 | async fn restrict_owner_read_write(path: &Path) -> Result<(), std::io::Error> { |
| 4453 | tokio::fs::set_permissions(path, fs::Permissions::from_mode(0o600)).await |
| 4454 | } |
| 4455 | |
| 4456 | #[cfg(not(unix))] |
| 4457 | async fn restrict_owner_read_write(_path: &Path) -> Result<(), std::io::Error> { |
no outgoing calls
no test coverage detected