zig/lib/std/fs
Alex Rønne Petersen 13945548fc
std.fs: Rework to always use statx() instead of fstat()/fstatat() on Linux.
statx() is strictly superior to stat() and friends. We can do this because the
standard library declares Linux 4.19 to be the minimum version supported in
std.Target. This is also necessary on riscv32 where there is only statx().

While here, I improved std.fs.File.metadata() to gather as much information as
possible when calling statx() since that is the expectation from this particular
API.
2024-07-29 09:50:41 +02:00
..
AtomicFile.zig extract std.posix from std.os 2024-03-19 11:45:09 -07:00
Dir.zig std.fs: Rework to always use statx() instead of fstat()/fstatat() on Linux. 2024-07-29 09:50:41 +02:00
File.zig std.fs: Rework to always use statx() instead of fstat()/fstatat() on Linux. 2024-07-29 09:50:41 +02:00
get_app_data_dir.zig std: Convert deprecated aliases to compile errors and fix usages 2024-06-13 10:18:59 -04:00
path.zig std: promote tests to doctests 2024-03-21 14:11:46 -07:00
test.zig Rename MAX_NAME_BYTES to max_name_bytes 2024-07-03 17:42:09 +01:00
wasi.zig fix compilation failures found by CI 2024-03-19 16:18:18 -07:00