f
default(): Promise<string | undefined>
directory: string,
targetEntry: string
Recursively searches directory and its ancestors for a file or folder named targetEntry; returns the absolute path or undefined.
Usage
import * as mod from "lib/utils/search-in-parent-directories.ts";