Resolves the given path against this path. If other is absolute, returns a new Path for other. Otherwise, joins this path with other.
Example:
var base = new Path ("/home/user");
assert (base.resolve ("docs").toString () == "/home/user/docs");
assert (base.resolve ("/etc").toString () == "/etc");
| other |
the path to resolve. |
|
a new resolved Path. |