commit 12d0c9a2fc1220ec5cba62f1923c502cd5607bf4 (tree) parent 5c6f5e6cf2d6fdce2083e1f946a1f5ee407dbdf9 Author: Andrew Kelley <andrew@ziglang.org> Date: Mon, 29 Jul 2024 21:43:46 -0700 add std.fs.Dir.Handle mirrors std.fs.File.Handle Diffstat:
| M | lib/std/fs/Dir.zig | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/std/fs/Dir.zig b/lib/std/fs/Dir.zig @@ -1,4 +1,6 @@ -fd: posix.fd_t, +fd: Handle, + +pub const Handle = posix.fd_t; pub const default_mode = 0o755;