pub fn journal_root(common_dir: &Path) -> PathBufExpand description
What: The journal root beneath a common Git directory, without creating anything. Why: Readers check for pending state before they decide whether to create it.
In TS you’d write (pseudocode):
join(commonDir, 'cli-git-worktree-copy', 'v1')