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.
Comment #1 by issues.dlang — 2015-01-08T02:12:10Z
We don't normally add aliases for functions like that, because it tends to just cause confusion to users and clutter in the library. And naming functions is a bit of an art which frequently has no right anwser and which tends to get bikeshedded to death due to how subjective it is and how easy it is to have an opinion on the matter.
Comment #2 by ketmar — 2015-01-08T08:26:31Z
besides, it's very easy to remember for posix-compatible os users. ;-)