in extractor/src/main/scala-sbt-2/sbt/jetbrains/ClassathOpsCompat.scala [17:33]
def toNioPath(a: Attributed[HashedVirtualFileRef]): NioPath =
conv.toPath(a.data)
inline def toFile(a: Attributed[HashedVirtualFileRef]): File =
toNioPath(a).toFile()
def toNioPaths(cp: Seq[Attributed[HashedVirtualFileRef]]): Seq[NioPath] =
cp.map(toNioPath).toVector
inline def toFiles(cp: Seq[Attributed[HashedVirtualFileRef]]): Seq[File] =
toNioPaths(cp).map(_.toFile())
inline def toAttributedFiles(cp: Seq[Attributed[HashedVirtualFileRef]]): Seq[Attributed[File]] =
cp.map { item =>
val file = conv.toPath(item.data).toFile
Attributed(file)(item.metadata)
}