Skip to main content

declarative_source_load_fixture

Function declarative_source_load_fixture 

Source
pub fn declarative_source_load_fixture(
    base_dir: &Path,
    rel_path: &str,
) -> Option<Value>
Expand description

Performs declarative source load fixture.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_load_fixture can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_load_fixture(std::path::Path::new("apps"), todo!());