pub fn load_yaml_source(base_dir: &Path, rel_path: &str) -> Option<Value>Expand description
Loads YAML source.
§Parameters
base_dir: Input consumed bycrate::declarative::load_yaml_source.rel_path: Input consumed bycrate::declarative::load_yaml_source.
§Returns
Returns Some when crate::declarative::load_yaml_source can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::declarative::load_yaml_source.
§Examples
ⓘ
let _result = pharos_runtime_compiler::declarative::load_yaml_source(std::path::Path::new("apps"), todo!());§Related
crate::declarativefor adjacent helpers that share the same runtime surface.