Callable
- truncate(path: PathLike, len: number | undefined | null, callback: function): void
- truncate(path: PathLike, callback: function): void
-
Parameters
-
-
len: number | undefined | null
-
callback: function
Returns void
-
Parameters
Returns void
Functions
__promisify__
- __promisify__(path: PathLike, len?: number | null): Promise<void>
-
Parameters
-
-
Optional len: number | null
Returns Promise<void>
Asynchronous truncate(2) - Truncate a file to a specified length.