| author | |
| committer | |
| log | bd1528faf2504118937f962da93c4007a229e91c |
| tree | 2f65b09f320b1a3826a435687b1bc0f30ffdaf6a |
| parent | a0eb03f4335e6ab0053312586382f2afd71982c4 |
1 files changed, 5 insertions(+), 0 deletions(-)
Dir.zig+5| ... | ... | @@ -28,3 +28,8 @@ pub fn openDir(self: Dir, sub_path: [:0]const u8, flags: OpenDirFlags) !Dir { |
| 28 | 28 | pub const OpenDirFlags = packed struct { |
| 29 | 29 | // |
| 30 | 30 | }; |
| 31 | ||
| 32 | /// temporary method for interacting with other std apis we don't have our own version of | |
| 33 | pub fn to_std(self: Dir) std.fs.Dir { | |
| 34 | return .{ .fd = @intFromEnum(self.fd) }; | |
| 35 | } |