diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2025-12-20 20:18:07 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:11 -0800 |
| commit | e442a0ecc23d315f99f62684c6240e7c1cb6e9ce (patch) | |
| tree | 2e034d8953310f01d219f7f65e6cc2db3eea73f8 /lib/std/Thread.zig | |
| parent | ad08117e9daf5d2a34be1ca71a23366f39079990 (diff) | |
| download | zig-e442a0ecc23d315f99f62684c6240e7c1cb6e9ce.tar.gz zig-e442a0ecc23d315f99f62684c6240e7c1cb6e9ce.zip | |
Dir.readFile/readFileAlloc: take advantage of `.allow_directory = false` on Windows
Since we know the read will fail for directories, we can take advantage
of Windows being able to fail with IsDir during open to avoid needing to
wait until the read to find out about the directory-ness of the file.
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions
