Skip to main content

resolve

Function resolve 

Source
fn resolve(
    root: &Yaml,
    raw: &str,
    stack: &mut Vec<String>,
    env: &'_ dyn Fn(&str) -> Option<String>,
) -> Result<String, String>
Expand description

Expand every ${...} in raw. stack carries the config paths currently being resolved, so a reference cycle is reported rather than overflowing.