
Feb. 14, 2015
4:25 p.m.
The whole point of scandir is to expose low-level system calls in a cross-platform way.
Cross-platform is great and preferable, but low-level system facilities should be made available even when they are unique to a particular OS.
Yes, but this can be made cross-platform fairly easily, just like the other method calls. Just like DirEntry.stat() has different cross-platform operation (no stat call on Windows, a stat call on POSIX), DirEntry.inode() would have a different operation (stat call on Windows, no stat call on POSIX). -Ben