createSync method
Creates a file if none exists or truncates an existing file and returns an instance of {@linkcode Deno.FsFile}.
const file = Deno.createSync("/foo/bar.txt");
Requires allow-read
and allow-write
permissions.
Implementation
_i4.FsFile createSync(_i2.Object path) => _i3.callMethod(
this,
'createSync',
[path],
);