Bug 8302 – Documentation of dirEntries in std.file is incomplete

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-06-26T07:13:00Z
Last change time
2013-02-05T13:00:22Z
Assigned to
nobody
Creator
mp81ss

Comments

Comment #0 by mp81ss — 2012-06-26T07:13:47Z
The method seems to throw Exception when passed dir do not exists.
Comment #1 by github-bugzilla — 2012-12-26T16:47:35Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e6621da89985ca9688f758c5fffd00438050bfd4 Fixes Issue 8302 - Document that std.file.dirEntries throws FileException on invalid dir. https://github.com/D-Programming-Language/phobos/commit/7037621aff5f74541be35353283fc992e45f0f4b Merge pull request #1037 from AndrejMitrovic/Fix8302 Issue 8302 - Document that std.file.dirEntries throws FileException on invalid dir
Comment #2 by hsteoh — 2013-01-02T10:31:58Z
Seems to be fixed now? Should this bug be closed?
Comment #3 by hsteoh — 2013-01-03T21:25:46Z
Comment #4 by github-bugzilla — 2013-01-03T22:04:21Z
Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/3d56ea1fa57e8727bb0ef37690cdf6761e60fb34 Complete the fix for issue 8302. The original fix (e6621da89985ca9688f758c5fffd00438050bfd4) missed the second variant of std.file.dirEntries.