searchInParentDirectories(directory: string,targetEntry: string): Promise<string | undefined>
Recursively searches directory and its ancestors for a file or folder named targetEntry; returns the absolute path or undefined.
await searchInParentDirectories('/tmp', 'no-such-entry-qunitx'); // undefined — walked up to '/' without a hit