truncateAsync
external fun truncateAsync(path: PathLike, len: Number = definedExternally): <Error class: unknown class><<Error class: unknown class>>(source)
Truncates (shortens or extends the length) of the content at path
to len
bytes.
Since
v10.0.0
Return
Fulfills with undefined
upon success.
Parameters
len=0