By fixing "Issue 10607 - DirEntry has no constructor"
http://d.puremagic.com/issues/show_bug.cgi?id=10607
The function "dirEntry" is now completely useless. It can be replaced by a straight up DirEntry call in all cases. It should be removed (deprecated).