Skip to main content

parallel_checkout_wanted

Function parallel_checkout_wanted 

Source
pub fn parallel_checkout_wanted(
    context: &GitContext,
    cwd: &Path,
    arguments: &[OsString],
) -> bool
Expand description

What: Whether the wrapper may give the checkout parallel workers: nothing the person typed, exported or configured sets the key. Why: A configuration that cannot be read leaves the answer unknown, and unknown means the person’s setting may exist, so nothing is added.

In TS you’d write (pseudocode):

const wanted = await parallelCheckoutWanted({ context, cwd, arguments });