function truncatetruncate(path: PathLike,len?: number,): Promise<void>DeprecatedTruncates (shortens or extends the length) of the content at path to len bytes. Parameterspath: PathLikeoptionallen: number = 0Return TypePromise<void>Fulfills with undefined upon success.