com.github.charleslzq.facestore.Path.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of face-store Show documentation
Show all versions of face-store Show documentation
interfaces to use store faces
package com.github.charleslzq.facestore
import java.io.File
class Path(private val absolutePath: String) {
fun toFile() = File(absolutePath)
}
object Paths {
fun get(vararg path: String?) = Path(path.filterNotNull().joinToString(File.separator))
}