[Issue 13949] New: Alias baseName() as stripPath()
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 7 12:22:58 PST 2015
https://issues.dlang.org/show_bug.cgi?id=13949
Issue ID: 13949
Summary: Alias baseName() as stripPath()
Product: D
Version: unspecified
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: bb.temp at gmx.com
std.path.baseName should have an alias named stripPath
e.g:
alias stripPath = baseName;
Because it matches to the semantic used in
stripExtension
stripDrive
...
so the function set used to decompose a filename would be more homogeneous.
--
More information about the Digitalmars-d-bugs
mailing list