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


Lars T. Kyllingstad <bugzi...@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@kyllingen.net


--- Comment #10 from Lars T. Kyllingstad <bugzi...@kyllingen.net> 2012-02-01 
14:27:36 PST ---
Sorry for coming late to the party, but I totally agree with Jonathan on this.

Such a function does not seem generic enough to warrant inclusion in the
standard library, and std.path already provides the building blocks making it a
one-liner:

bool isDefinitelyADir(string path)
{
    return isValidPath(path) && isDirSeparator(path[$-1]);
}

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

Reply via email to