fun File.resolve(relative: File): File
Adds relative file to this, considering this as a directory. If relative has a root, relative is returned back. For instance,
File("/foo/bar/gav"). This function is complementary with relativeTo, so
f.resolve(g.relativeTo(f)) == g should be always
true except for different roots case.
fun File.resolve(relative: String): File
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.