createFile

open fun createFile(path: String, content: String): String

Create a file at the relative path under the root


open fun createFile(path: String, content: String, overwrite: Boolean): Path

Create a file with the given content.

Return

the path to the created file

Parameters

path

the relative path to create the file at

content

the content to write to the file

overwrite

if true, overwrite the file if it already exists