__fs.gdn::write_file()
Write content to file path.
content
path
If path already exists, its content is replaced with content.
import "__fs.gdn" as fs fs::write_file("hello world", Path{ p: "/tmp/foo.txt" })
public fun write_file(content: String, path: Path): Result<Unit, String> { __BUILT_IN_IMPLEMENTATION }