Function truncate

  • Truncates (shortens or extends the length) of the content at path to lenbytes.

    Since

    v0.0.67

    Returns

    Fulfills with undefined upon success.

    Parameters

    • path: PathLike
    • Optional len: number

    Returns Promise<void>

  • Truncates (shortens or extends the length) of the content at path to lenbytes.

    Since

    v0.0.67

    Returns

    Fulfills with undefined upon success.

    Parameters

    • path: PathLike
    • Optional len: number

    Returns Promise<void>

Generated using TypeDoc