Structs§
Functions§
- clean_
merged - Delete worktrees whose branches are merged into default_branch.
- create_
worktree git worktree add -b {branch} {path} {base_branch}- is_
branch_ merged - Check if branch is an ancestor of default_branch (i.e., merged).
- list_
worktrees - List worktrees via
git worktree list --porcelain. - remove_
worktree git worktree remove --force {path}thengit branch -d {branch}- to_
worktree_ infos - Convert WorktreeEntry list to WorktreeInfo list (no sessions yet — populated by refresh_all).