digitalmars.D - function for inverse relative path?
- Timothee Cour (8/8) Dec 06 2017 what would be a robust way to do this `inverseRelativePath`, and
what would be a robust way to do this `inverseRelativePath`, and should that be in std.path? ``` auto a="/a/b/c.d"; auto b="b/c.d"; assert(inverseRelativePath(a, b) == "/a"); assertThrown(inverseRelativePath(a, "c2.d")); ```
Dec 06 2017