Function opendirSync

  • Synchronous opendir. Opens a directory.

    Parameters

    • path: PathLike

      The path to the directory.

    • Optional options: OpenDirOptions

      Options for opening the directory.

    Returns Dir

    A Dir object representing the opened directory.