Skip to main content

discover

Function discover 

Source
pub fn discover(path: &Path) -> Result<PathBuf, RepoError>
Expand description

The worktree root of the repository containing path. A .jj with no .git above it is a jj repo, whose root we return.