zig icon indicating copy to clipboard operation
zig copied to clipboard

Dir.Iterator now stats unknown file kinds

Open bibo38 opened this issue 2 years ago • 0 comments

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

bibo38 avatar Dec 19 '23 13:12 bibo38