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

Function resolve_string_list

crates/models/src/variable.rs:297–338  ·  view source on GitHub ↗

Resolve a list of strings that may contain `${{ }}` template expressions. Each element is resolved via [`resolve_string_with_expression`]. If an element is *solely* a `${{ expr }}` expression and the referenced value is a JSON array (e.g. from state or params), the array items are expanded inline into the result list. This enables patterns like: ```yaml include: - "${{ state.files }}" # e

(
    items: &[String],
    params: &HashMap<String, Value>,
    state: &HashMap<String, Value>,
    matrix_values: Option<&HashMap<String, Value>>,
    steps: Option<&HashMap<String, HashMap<String, 

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 6

expr_only_reFunction · 0.85
lookup_json_arrayFunction · 0.85
as_strMethod · 0.45
getMethod · 0.45
is_emptyMethod · 0.45

Used in the wild real call sites across dependent graphs

searching dependent graphs…