• Gets file status information. If the path is a link it returns information about the link itself. See stat(2)

    Parameters

    • path: string

      Path to the file.

    Returns Promise<StatResult>