• Synchronously get the size of a file.

    Parameters

    • path: string

      Path to the file.

    Returns number

    The size of the file in bytes.