http://d.puremagic.com/issues/show_bug.cgi?id=8909



--- Comment #5 from Dimitri Sabadie <dimitri.saba...@gmail.com> 2012-10-29 
13:22:10 PDT ---
(In reply to comment #4)
> And while the stat call may be an implementation detail, regardless of how
> isFile, isDir, or isSymlink are implemented, they rely on the fact that the
> file that they're given exists, so _of course_ there's going to be a serious
> problem if the file doesn't exist. Throwing is the correct behavior in that
> case.

This case should be test before a call to isFile IMHO. Here isFile has a too
high responsibility.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to