[Bug 189] New: std.path enhancements
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 9 02:07:46 PDT 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=189
Summary: std.path enhancements
Product: D
Version: 0.160
Platform: PC
OS/Version: Windows
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: StefanLiebig at web.de
new method:
char[] parent( char[] path, int up = 1 )
returns the parent path name of the given path, up indicates the levels for
"walking up"
extended method:
char[] join( char[] p1, char[] p2 )
would really be cool if it could join "real" relative paths (p2) such as
"../sibling".
If helpfull I could provide a win specific implementation e.g. to be used as
starting point.
--
More information about the Digitalmars-d-bugs
mailing list