Nodefs/promisestruncatefunction truncate#truncate(path: PathLike,len?: number,): Promise<void>Truncates (shortens or extends the length) of the content at path to len bytes. Parameters ##path: PathLikeoptional#len: number = 0Return Type #Promise<void>Fulfills with undefined upon success.
function truncate#truncate(path: PathLike,len?: number,): Promise<void>Truncates (shortens or extends the length) of the content at path to len bytes. Parameters ##path: PathLikeoptional#len: number = 0Return Type #Promise<void>Fulfills with undefined upon success.