(options: &mut fs::OpenOptions)
| 732 | |
| 733 | #[cfg(unix)] |
| 734 | fn apply_private_create_mode(options: &mut fs::OpenOptions) { |
| 735 | use std::os::unix::fs::OpenOptionsExt; |
| 736 | |
| 737 | options.mode(0o600); |
| 738 | } |
| 739 | |
| 740 | #[cfg(not(unix))] |
| 741 | fn apply_private_create_mode(_options: &mut fs::OpenOptions) {} |