fn nearest_existing(path: &Path) -> Option<PathBuf>Expand description
The nearest ancestor of path (or path itself) that exists, following symbolic links. A dangling
link, a missing entry and an entry below a non-directory all count as not existing; any other error
stops the walk at the path that raised it.