truncateAsync

external fun truncateAsync(path: PathLike, len: Number = definedExternally): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.Void>(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