zig
zig copied to clipboard
Dir.Iterator now stats unknown file kinds
When using getdents64() (atleast on Linux), the d_type will be unknown if the filesystem doesn't support it. In this case a seperate stat call is necessary to determine the file kind. This may cause additional overhead (e.g. network filesystem) and can be disabled by an option.
Fixes #5123