FileIO

com.malliina.build.FileIO$
object FileIO

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
FileIO.type

Members list

Concise view

Value members

Concrete methods

def base64(file: Path): String
def copy(from: Path, to: Path): Unit
def copyIfChanged(from: Path, to: Path): Boolean
def dataUri(file: Path): String
def deleteDirectory(dir: Path): Path
def gzip(src: Path, dest: Path): Unit
def isSameContent(content: String, file: Path): Boolean
def md5(file: Path): String
def mismatch(content: String, file: Path): Boolean
def using[T <: AutoCloseable, U](res: T)(code: T => U): U
def write(bytes: Array[Byte], to: Path): Path
def write(in: InputStream, to: Path): StorageSize
def writeIfChanged(content: String, to: Path): Boolean
def writeIfNotExists(in: InputStream, to: Path): Option[StorageSize]
def writeJson[T : Encoder](t: T, to: Path): Path
def writeLines(lines: Seq[String], to: Path): Path

Concrete fields

val log: Logger