DenoDeno.createSyncfunction Deno.createSyncallow-readallow-write#createSync(path: string | URL): FsFileCreates a file if none exists or truncates an existing file and returns an instance of Deno.FsFile. const file = Deno.createSync("/foo/bar.txt"); Requires allow-read and allow-write permissions. Parameters ##path: string | URLReturn Type #FsFile
function Deno.createSyncallow-readallow-write#createSync(path: string | URL): FsFileCreates a file if none exists or truncates an existing file and returns an instance of Deno.FsFile. const file = Deno.createSync("/foo/bar.txt"); Requires allow-read and allow-write permissions. Parameters ##path: string | URLReturn Type #FsFile