Skip to main content

creates_or_moves_worktrees

Function creates_or_moves_worktrees 

Source
pub fn creates_or_moves_worktrees(command: &ResolvedCommand) -> bool
Expand description

What: Whether a resolved command creates or moves linked worktrees. Why: createsOrMovesWorktrees: git worktree add and git worktree move, decided by the first positional token after worktree.

In TS you’d write (pseudocode):

function createsOrMovesWorktrees(command: ResolvedGitCommand): boolean;