diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-27 10:40:24 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-27 10:40:24 -0800 |
| commit | a7c9d11b289b2140430f2666968bddb02a6f1a1f (patch) | |
| tree | b5b682039c0704b9beaf3f17737ab3d6962afb1a /lib/libtsan/tsan_interface_java.cpp | |
| parent | e55e6b5528bb2f01de242fcf32b172e244e98e74 (diff) | |
| download | zig-a7c9d11b289b2140430f2666968bddb02a6f1a1f.tar.gz zig-a7c9d11b289b2140430f2666968bddb02a6f1a1f.zip | |
std.Io: make file access time optional
Some filesystems, such as ZFS, do not report atime. It's pretty useless
in general, so make it an optional field in File.Stat.
Also take the opportunity to make setting timestamps API more flexible
and match the APIs widely available, which have UTIME_OMIT and UTIME_NOW
constants that can be independently set for both fields.
This is needed to handle smoothly the case when atime is null.
Diffstat (limited to 'lib/libtsan/tsan_interface_java.cpp')
0 files changed, 0 insertions, 0 deletions
