Skip to main content

ui_load_ledger

Function ui_load_ledger 

Source
pub fn ui_load_ledger(app_root: &str) -> Option<Value>
Expand description

Loads a UI ledger JSON document from an app root.

§Parameters

§Returns

Returns Some when crate::runtime::ui::ui_load_ledger 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::runtime::ui::ui_load_ledger.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_load_ledger(std::path::Path::new("apps/dev_docs"));