pub fn plan_worktree(dir: &Path, wt: &Path, opts: &Options) -> Result<Plan>
Judge only the worktree at wt, as a tool does with a worktree it made once its work landed. The plan has that one item, and deletes its branch only if no other worktree has it
wt
When wt is not a worktree of the repository at dir, or is an extra checkout, or as plan
dir
plan