pub fn decide_branch_worktree(arguments: &[OsString]) -> BranchWorktreeDecisionExpand description
What:
Decide from the argument list.
&[OsString] borrows the arguments,
already free
of wrapper controls.
Why:
Only branch,
checkout and switch can create a branch outside
git worktree add.
A region Git itself refuses creates nothing.
In TS you’d write (pseudocode):
function decideBranchWorktree(args: string[]): BranchWorktreeDecision;