Module

std/node/fs.ts

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

Parameters

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