All Downloads are FREE. Search and download functionalities are using the official Maven repository.

datamaintain.core.util.PorcelainUtil.kt Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package datamaintain.core.util

import java.nio.file.Path

fun extractRelativePath(scanPath: Path, filePath: Path): String =
    filePath.toString().removePrefix(scanPath.toString()).trim('/')




© 2015 - 2024 Weber Informatics LLC | Privacy Policy