Function opendir

  • Asynchronous opendir. Opens a directory.

    Parameters

    • path: PathLike

      The path to the directory.

    • Optionaloptions: OpenDirOptions

      Options for opening the directory.

    Returns Promise<Dir>

    A Dir object representing the opened directory.

    Use options