write

fun write(path: String, content: String)

Writes UTF-8 content to the file at path (relative to the working directory, or absolute), creating missing parent directories.