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

Function resolve_workflow_source_with_name

crates/cli/src/workflow_runner.rs:503–630  ·  view source on GitHub ↗

Same as [`resolve_workflow_source`] but, when `source` is a directory and contains a `codemod.yaml`, honors that manifest's workflow declaration(s) and lets the caller pick a workflow by name.

(
    source: &str,
    workflow_name: Option<&str>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 8

find_workflowMethod · 0.80
joinMethod · 0.65
read_to_stringFunction · 0.50
existsMethod · 0.45
is_dirMethod · 0.45
canonicalizeMethod · 0.45
is_fileMethod · 0.45
parentMethod · 0.45

Used in the wild real call sites across dependent graphs

searching dependent graphs…