kotlin.io.java.io.File.relativeTo

relativeTo

fun File.relativeTo(base: File): File

Platform and version requirements: JVM

Calculates the relative path for this file from base file. Note that the base file is treated as a directory. If this file matches the 登录查看完整内容