Skip to main content

moved_registration_names

Function moved_registration_names 

Source
fn moved_registration_names(listed: &str, ours: &Path) -> bool
Expand description

Whether a listed worktree path that no longer resolves still names the worktree at ours. A repo moved or renamed leaves its registrations carrying the old absolute path, while the tail below the repo root - .claude/worktrees/<label> - is intact. The listing is this repo’s own, so a matching tail is this repo’s registration, not a foreign one.