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

zio.test.results.ResultFileOpsJson.scala Maven / Gradle / Ivy

There is a newer version: 2.1.14
Show newest version
package zio.test.results

import zio._

import java.io.IOException

private[test] trait ResultFileOps {
  def write(content: => String, append: Boolean): ZIO[Any, IOException, Unit]
}

private[test] object ResultFileOps {
  val live: ZLayer[Any, Nothing, ResultFileOps] =
    ZLayer.succeed(
      Json()
    )

  private[test] case class Json() extends ResultFileOps {
    def write(content: => String, append: Boolean): ZIO[Any, IOException, Unit] =
      ZIO.unit
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy