Skip to main content

ui_path

Function ui_path 

Source
pub fn ui_path(app_root: &str, relative: &str) -> Option<String>
Expand description

Resolves a validated app-relative UI path while preserving containment.

§Parameters

§Returns

Returns Some when crate::runtime::ui::ui_path can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ui::ui_path(std::path::Path::new("apps/dev_docs"), todo!());