Skip to main content

journal_root

Function journal_root 

Source
pub fn journal_root(common_dir: &Path) -> PathBuf
Expand 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')