kotlin.io.java.io.File.relativeToOrSelf

relativeToOrSelf

fun File.relativeToOrSelf(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 登录查看完整内容