pub fn find_root(start: &Path) -> Option<PathBuf>
Walk up from start (inclusive) to the filesystem root, returning the first directory that contains an opys.toml — the project root.
start
opys.toml