pub fn worktree_dir() -> Result<PathBuf>Expand description
Where new --worktree puts a branch’s worktree. From stk.worktreeDir, or a
sibling of the repo root named <repo>-worktrees - outside the repo, so the
worktrees do not land in its own file watchers, ignore rules, or git status.
Anchored on the main worktree, not the current one, so every worktree of a
repo agrees on one directory: derived from wherever the command ran, new --worktree inside a worktree would nest the next one under it, and repair
would look for owned worktrees somewhere they were never put.