MCPcopy Create free account
hub / github.com/codemod/codemod / validate_codemod_dependencies

Method validate_codemod_dependencies

crates/core/src/engine.rs:1832–1840  ·  view source on GitHub ↗

Validate codemod dependencies to prevent infinite recursion cycles This method recursively checks all codemod dependencies in a workflow to ensure there are no circular references that would cause infinite loops during execution. Examples of cycles that will be detected: - Direct cycle: A → A - Two-step cycle: A → B → A - Multi-step cycle: A → B → C → A # Arguments `workflow` - The workflow to

(
        &self,
        workflow: &Workflow,
        dependency_chain: &[CodemodDependency],
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

run_workflow_with_idMethod · 0.80

Calls 1

Tested by

no test coverage detected