import { Deno } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { truncate } = Deno;
Truncates or extends the specified file, updating the size of this file to become size.
await Deno.truncate("hello.txt", 10);
import { Deno } from "https://deno.land/x/uuid@v0.1.2/lib/lib.deno_runtime.d.ts";
const { truncate } = Deno;
Truncates or extends the specified file, updating the size of this file to become size.
await Deno.truncate("hello.txt", 10);