Skip to main content

declarative_source_load_manifest

Function declarative_source_load_manifest 

Source
pub fn declarative_source_load_manifest(app_root: &Path) -> Option<String>
Expand description

Loads the declarative manifest text from an app root with a bounded read.

§Parameters

§Returns

Returns Some when crate::declarative::declarative_source_load_manifest 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::declarative_source_load_manifest.

§Examples

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