import { Truncate } from "https://deno.land/x/macromania_assets@v0.2.0/deps.ts";
Truncates (or extends) the specified file, to reach the specified len
.
If len
is not specified then the entire file contents are truncated.
See https://deno.land/api@v1.40.3?unstable=true&s=Deno.truncate
Returns
The empty string.