Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dax/mod.ts>FsFileWrapper#truncate

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method FsFileWrapper.prototype.truncate
import { FsFileWrapper } from "https://deno.land/x/dax@0.31.1/mod.ts";

Parameters

optional
len: number | undefined

Returns

Promise<void>