find-file-up

Find a file fast, by starting at the given cwd and recursing up one directory until the file is found or we run out of directories.

findup-sync

Find the first file matching a given pattern in the current directory or the nearest ancestor directory.