[deprecated] Use `DirEntry` constructor instead of `dirEntry` function
[deprecated] Use `std.algorithm.any` instead of `std.algorithm.canFind`