Skip to main content
Module

std/node/fs.ts>ftruncate

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

Parameters

fd: number
lenOrCallback: number | CallbackWithError
optional
maybeCallback: CallbackWithError