pub fn discover(path: &Path) -> Result<PathBuf, RepoError>
Discover the repository containing path and return its working directory root.
path