| author | |
| committer | |
| log | 41878815ba2fb2ae28194e482ae05629e4ffb79d |
| tree | bfd61bc988b9c74f9a1cbed7d4483af6b958b268 |
| parent | 8da91adc27dd29f61ab65436c82475ae2ae6cc1c |
| signature |
1 files changed, 2 insertions(+), 2 deletions(-)
Dir.zig+2-2| ... | ... | @@ -74,8 +74,8 @@ pub const OpenDirFlags = packed struct { |
| 74 | 74 | }; |
| 75 | 75 | |
| 76 | 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 { | |
| 78 | return .{ .fd = @intFromEnum(self.fd) }; | |
| 77 | pub fn to_std(self: Dir) std.Io.Dir { | |
| 78 | return .{ .handle = @intFromEnum(self.fd) }; | |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | pub fn readFileAlloc(self: Dir, allocator: std.mem.Allocator, file_path: [:0]const u8, max_bytes: usize) ![:0]u8 { |