The path of the directory to search.
The name of the subdirectory to find.
Optional
ignoreCase: boolean = falseIf true, performs a case-insensitive comparison.
A Promise that resolves to the name of the found subdirectory or undefined if not found.
Asynchronously finds a subdirectory with a specific name in the given directory. Returns the name of the subdirectory if found, or undefined otherwise.