The module ‘windows-stat-timespec’ ensures that,
on native Windows platforms, struct stat
contains
st_atim
, st_mtim
, st_ctim
fields of type
struct timespec
, providing 100 ns resolution for the timestamps
of files.
Note: On some types of file systems, the timestamp resolution is limited
by the file system. For example, on FAT file systems, st_mtim
only has a resolution of 2 seconds. For more details, see
https://docs.microsoft.com/en-us/windows/desktop/SysInfo/file-times.