scala.ZincCompat.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler-bridge_2.11 Show documentation
Show all versions of compiler-bridge_2.11 Show documentation
Incremental compiler of Scala
/*
* Zinc - The incremental compiler for Scala.
* Copyright Lightbend, Inc. and Mark Harrah
*
* Licensed under Apache License 2.0
* (http://www.apache.org/licenses/LICENSE-2.0).
*
* See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*/
package scala
import java.nio.file.Path
import scala.reflect.io.AbstractFile
object ZincCompat {
type PlainNioFile = xsbt.PlainNioFile
def plainNioFile(path: Path): AbstractFile = new PlainNioFile(path)
def unwrapPlainNioFile(pf: PlainNioFile): Path = pf.nioPath
}