| ... | @@ -389,9 +389,7 @@ pub fn setOwner(file: File, io: Io, owner: ?Uid, group: ?Gid) SetOwnerError!void | ... | @@ -389,9 +389,7 @@ pub fn setOwner(file: File, io: Io, owner: ?Uid, group: ?Gid) SetOwnerError!void |
| 389 | /// Cross-platform representation of permissions on a file. | 389 | /// Cross-platform representation of permissions on a file. |
| 390 | /// | 390 | /// |
| 391 | /// On POSIX systems this corresponds to "mode" and on Windows this corresponds to "attributes". | 391 | /// On POSIX systems this corresponds to "mode" and on Windows this corresponds to "attributes". |
| 392 | /// | 392 | pub const Permissions = if (is_windows) enum(std.os.windows.DWORD) { |
| 393 | /// Overridable via `std.options`. | | |
| 394 | pub const Permissions = std.io_options.FilePermissions orelse if (is_windows) enum(std.os.windows.DWORD) { | | |
| 395 | default_file = 0, | 393 | default_file = 0, |
| 396 | _, | 394 | _, |
| 397 | | 395 | |