Function opendirSync

  • Synchronous opendir. Opens a directory.

    Parameters

    • path: PathLike

      The path to the directory.

    • Optionaloptions: OpenDirOptions

      Options for opening the directory.

    Returns Dir

    A Dir object representing the opened directory.

    Handle options