Revision b605c8e...
Go back to digest for 2nd December 2012Features in Development Tools
Milian Wolff committed changes in [kdevplatform/sharedurls] /:
Add Path::relativePath and Path::isParentOf
While I would have liked to reuse KUrl::relativePath I found its
return values very odd. I got e.g. for '/foo' and '/foo/bar' a
relative path './bar' while I would like to have 'bar'. KUrl would
even return './' for relativeUrl when an argument is invalid - odd.
Anyways, the custom implementations of both should also be faster.
File Changes
Modified 3 files
- project/path.cpp
- project/path.h
- project/tests/testpath.cpp
3 files changed in total