Skip to main content

declarative_source_has_yaml_page

Function declarative_source_has_yaml_page 

Source
pub fn declarative_source_has_yaml_page(
    base_dir: &Path,
    page_name: &str,
) -> bool
Expand description

Performs declarative source has YAML page.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::declarative_source_has_yaml_page holds and false otherwise.

§Examples

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