Skip to main content

find_repo_root

Function find_repo_root 

Source
pub fn find_repo_root(
    start: &Utf8Path,
) -> Option<(Utf8PathBuf, SourceSubstrate)>
Expand description

Walk upward looking for a source repo root. .jj wins over .git at the same level (a colocated repo is still a jj repo).