munit.internal.io.PlatformIO.scala Maven / Gradle / Ivy
The newest version!
package munit.internal.io
object PlatformIO {
type File = java.io.File
object File {
def separatorChar = java.io.File.separatorChar
}
object Files {
def readAllLines(path: Path): java.util.List[String] =
java.nio.file.Files.readAllLines(path)
}
type Path = java.nio.file.Path
object Paths {
def get(path: String): Path = java.nio.file.Paths.get(path)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy