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