function ftruncateSync
Usage in Deno
import { ftruncateSync } from "node:fs";
ftruncateSync(fd: number,len?: number | null,): void
Truncates the file descriptor. Returns undefined
.
For detailed information, see the documentation of the asynchronous version of this API: ftruncate.
void