div
Resolves the given other path against this path.
inline operator fun Path.div(other: Path): Path(source)
import java.nio.file.Paths
import kotlin.io.path.div
fun main() {
val base = Paths.get("/usr/local")
val sub = Paths.get("bin")
val fullPath = base / sub // same as base.div(sub)
println(fullPath) // prints: /usr/local/bin
}