digitalmars.D.bugs - [Issue 10240] New: It should be possible to check exists and isDir/isFile with a single stat call
- d-bugmail puremagic.com (21/21) Jun 02 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10240
http://d.puremagic.com/issues/show_bug.cgi?id=10240 Summary: It should be possible to check exists and isDir/isFile with a single stat call Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: code dawg.eu In std.file the functions isDir, isFile and dirEntry all throw if a path does not exist. Therefor one needs a separate stat call to test for existence. Also dirEntry does enforce again that a path exists. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 02 2013