Module

std/node/fs.ts>truncate

Deno standard library
Go to Latest
function truncate
import { truncate } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts";

Parameters

path: string | URL
lenOrCallback: number | CallbackWithError
optional
maybeCallback: CallbackWithError
import truncate
import { truncate } from "https://dotland.deno.dev/std@0.177.0/node/fs.ts";