| ... | @@ -74,8 +74,8 @@ pub const OpenDirFlags = packed struct { | ... | @@ -74,8 +74,8 @@ pub const OpenDirFlags = packed struct { |
| 74 | }; | 74 | }; |
| 75 | | 75 | |
| 76 | /// temporary method for interacting with other std apis we don't have our own version of | 76 | /// temporary method for interacting with other std apis we don't have our own version of |
| 77 | pub fn to_std(self: Dir) std.fs.Dir { | 77 | pub fn to_std(self: Dir) std.Io.Dir { |
| 78 | return .{ .fd = @intFromEnum(self.fd) }; | 78 | return .{ .handle = @intFromEnum(self.fd) }; |
| 79 | } | 79 | } |
| 80 | | 80 | |
| 81 | pub fn readFileAlloc(self: Dir, allocator: std.mem.Allocator, file_path: [:0]const u8, max_bytes: usize) ![:0]u8 { | 81 | pub fn readFileAlloc(self: Dir, allocator: std.mem.Allocator, file_path: [:0]const u8, max_bytes: usize) ![:0]u8 { |