| ... | @@ -233,7 +233,7 @@ pub const File = struct { | ... | @@ -233,7 +233,7 @@ pub const File = struct { |
| 233 | Unexpected, | 233 | Unexpected, |
| 234 | }; | 234 | }; |
| 235 | | 235 | |
| 236 | fn mode(self: &File) ModeError!FileMode { | 236 | fn mode(self: &File) ModeError!os.FileMode { |
| 237 | if (is_posix) { | 237 | if (is_posix) { |
| 238 | var stat: posix.Stat = undefined; | 238 | var stat: posix.Stat = undefined; |
| 239 | const err = posix.getErrno(posix.fstat(self.handle, &stat)); | 239 | const err = posix.getErrno(posix.fstat(self.handle, &stat)); |