Skip to main content

apply_fixed_transforms

Function apply_fixed_transforms 

Source
pub fn apply_fixed_transforms(
    arguments: &[OsString],
    commit_only_escaped: bool,
    facts: &mut dyn RepositoryFacts,
) -> TransformResult
Expand description

What: Apply the three transforms in order. &[OsString] borrows the arguments, already free of wrapper controls. Why: The order is the incumbent’s: atomic push, commit-only, status hints. A rejection or failure of commit-only ends the stage with the stage’s input unchanged.

In TS you’d write (pseudocode):

async function applyFixedTransforms({ args, rawArgs, sequence }): Promise<FixedTransformResult>;