Skip to content

Function: executeGitCleanWorkingTreeCheck() ​

ts
function executeGitCleanWorkingTreeCheck(
   _node, 
   _input, 
   ctx
): Promise<CheckEvaluationResult>;

Defined in: git/src/executors/git-hooks-and-checks.ts:65

Evaluates a GitCleanWorkingTreeNode (git:clean-working-tree) conflict-clean check on ctx.scopeHandle.

Prunes resolved entries in unresolvedConflictPaths and rejects if any unresolved paths or paired conflict markers remain.

Parameters ​

ParameterTypeDescription
_nodeGitCleanWorkingTreeNodePassive clean-working-tree check AST node.
_inputvoidUnused check input.
ctxStepExecutionContext<GitWorktreeHandle>Active step execution context.

Returns ​

Promise<CheckEvaluationResult>

Check evaluation result listing any remaining conflicted paths.

Released under the MIT License.