@haxall/haxall
    Preparing search index...

    Function __promisify__

    • Asynchronous truncate(2) - Truncate a file to a specified length.

      Parameters

      • path: PathLike

        A path to a file. If a URL is provided, it must use the file: protocol.

      • Optionallen: number

        If not specified, defaults to 0.

      Returns Promise<void>