aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Io/File.zig
AgeCommit message (Collapse)Author
2025-10-29Elf2: load archivesJacob Young
2025-10-29std.Io.Threaded.dirOpenFileWtf16: SHARING_VIOLATIONAndrew Kelley
is the error code that needs the kernel bug workaround, not ACCESS_DENIED.
2025-10-29std.Io.Threaded: implement dirMakeOpenPath for WASIAndrew Kelley
and fix error code when file operation occurs on director handle
2025-10-29std.Io.File: fix stat for WindowsAndrew Kelley
2025-10-29std.Io: introduce openSelfExeAndrew Kelley
2025-10-29std.Io: add dirAccessAndrew Kelley
2025-10-29std.Io: stub file writing rather than incorrect implAndrew Kelley
2025-10-29std.Io.net.HostName: move lookup to the interfaceAndrew Kelley
Unfortunately this can't be implemented "above the vtable" because various operating systems don't provide low level DNS resolution primitives such as just putting the list of nameservers in a file. Without libc on Linux it works great though! Anyway this also changes the API to be based on Io.Queue. By using a large enough buffer, reusable code can be written that does not require concurrent, yet takes advantage of responding to DNS queries as they come in. I sketched out a new implementation of `HostName.connect` to demonstrate this, but it will require an additional API (`Io.Select`) to be implemented in a future commit. This commit also introduces "uncancelable" variants for mutex locking, waiting on a condition, and putting items into a queue.
2025-10-29std.Io.File: add WouldBlock to the error setAndrew Kelley
Even in an asynchronous world, the concept of a non-blocking flag is useful because it determines under what conditions the operation completes.
2025-10-29std: fix seekBy unit testAndrew Kelley
2025-10-29std.Io: implement dirStatPathAndrew Kelley
2025-10-29std.Io: bring back Timestamp but also keep Clock.TimestampAndrew Kelley
this feels better
2025-10-29std.Io: implement fileStatAndrew Kelley
2025-10-29remove bad assertAndrew Kelley
2025-10-29std: updating to std.Io interfaceAndrew Kelley
got the build runner compiling
2025-10-29WIP: hack away at std.Io return flightAndrew Kelley
2025-10-29WIP land the std.Io interfaceAndrew Kelley
fix std lib compilation errors caused by introducing std.Io
2025-10-29std.Io.net: implement receiving connectionless messagesAndrew Kelley
2025-10-29std.Io: extract Dir to separate fileAndrew Kelley
2025-10-29std: start moving fs.File to IoAndrew Kelley