Files
rust/library/std/src/sys/unix
Josh Triplett 61b45c670b Support setting file accessed/modified timestamps
Add `struct FileTimes` to contain the relevant file timestamps, since
most platforms require setting all of them at once. (This also allows
for future platform-specific extensions such as setting creation time.)

Add `File::set_file_time` to set the timestamps for a `File`.

Implement the `sys` backends for UNIX, macOS (which needs to fall back
to `futimes` before macOS 10.13 because it lacks `futimens`), Windows,
and WASI.
2022-07-15 02:54:06 -07:00
..
2021-08-19 12:02:39 -07:00
2022-06-13 20:44:39 -07:00
2022-06-13 20:44:39 -07:00
2022-06-13 20:44:57 -07:00
2021-04-28 14:25:04 +02:00
2022-06-13 20:44:39 -07:00
2022-06-13 20:44:39 -07:00
2022-05-09 11:12:32 +02:00
2022-06-13 20:44:57 -07:00
2022-05-25 20:09:59 -07:00
2021-12-28 11:28:05 +08:00
2022-06-13 20:44:39 -07:00
2021-08-19 12:02:39 -07:00
2022-06-13 20:44:39 -07:00
2022-04-05 11:22:32 -05:00
2022-06-13 20:44:39 -07:00
2022-06-13 20:44:39 -07:00