find-config

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

find-up-path

Find the path of the first file matching a given name, walking the filesystem upwards.