Skip to main content

declarative_source_has_yaml_manifest

Function declarative_source_has_yaml_manifest 

Source
pub fn declarative_source_has_yaml_manifest(app_root: &Path) -> bool
Expand description

Returns whether the YAML app manifest exists at an app root.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_has_yaml_manifest(std::path::Path::new("apps/dev_docs"));