pub fn base_analysis_root( current_root: &Path, base_worktree_root: &Path, ) -> PathBuf
Resolve the analysis root inside a detached base worktree.