Next: Precise file timestamps on Windows, Previous: Large File Support, Up: Native Windows Support [Contents][Index]
The module ‘windows-stat-inodes’ ensures that,
on native Windows platforms, struct stat
contains
st_dev
, st_ino
fields that are able to distinguish
different inodes.
Note: Such values can only be provided for most files on the
file system. For a few files (such as inaccessible files),
st_dev
and st_ino
are set to 0. Therefore,
you should test whether st_dev != 0 && st_ino != 0
,
before going to make inferences based on the file identity
based on st_dev
and st_ino
.