| author | |
| committer | |
| log | 8b49487c3345d6e203d8c72695e639b42a93c119 |
| tree | 32b5ef57cd8e6e75f4b94cd873f818d412e03b7d |
| parent | b30642a86ae59f9cfe73c8a9ed6e79c3cb5aaa36 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fs/file.zig+1-1| ... | ... | @@ -209,7 +209,7 @@ pub const File = struct { |
| 209 | 209 | /// TODO: integrate with async I/O |
| 210 | 210 | pub fn mode(self: File) ModeError!Mode { |
| 211 | 211 | if (builtin.os.tag == .windows) { |
| 212 | return {}; | |
| 212 | return 0; | |
| 213 | 213 | } |
| 214 | 214 | return (try self.stat()).mode; |
| 215 | 215 | } |