Function truncate

  • Shorten (truncate) a file.

    Parameters

    Returns void

  • Shorten (truncate) a file.

    Parameters

    Returns void

  • Shorten (truncate) a file.

    Parameters

    • path: number

      file path

    • Optional len: number

      maximum length of file [0]

    Returns Promise<void>

Generated using TypeDoc