Skip to main content

decide_linked_worktree

Function decide_linked_worktree 

Source
pub fn decide_linked_worktree(arguments: &[OsString]) -> LinkedWorktreeDecision
Expand description

What: Decide from the argument list. &[OsString] borrows the arguments, already free of wrapper controls. Why: A command that is not guarded, or that Git itself refuses, needs no measurement.

In TS you’d write (pseudocode):

function decideLinkedWorktree(args: string[]): LinkedWorktreeDecision;