zut.find_to_root

zut.find_to_root(name: str, *, start_dir: str | Path = None)

Find the given file name from the given start directory (or current working directory if none given), up to the root.

Return None if not found.