Next: , Previous: , Up: Native Windows Support   [Contents][Index]


14.3 Inode numbers on Windows

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.