zut.path.find_to_root
- zut.path.find_to_root(name: str, start_dir: str | PathLike | None = None) Path | None
Search for the given file name, in increasingly higher folders, from the given start directory up to the root.
- Parameters:
start_dir – Start directory. Default to the directory of the script being executed.
- Returns:
Path to the file if found, None otherwise