Skip to main content

no_controls

Function no_controls 

Source
pub fn no_controls() -> Controls
Expand description

What: The record of an invocation that used no control. Vec::<PolicyId>::new() is an empty owned list. Why: Every scan starts from “nothing was asked” and only adds.

In TS you’d write (pseudocode):

const noControls = (): Controls => ({ keepGoing: false, escaped: [], commitOnlyEscaped: false, skipWorktreeCopy: false });