pub fn declared_page_relative_path(
app_root: &Path,
page_id: &str,
) -> Option<String>Expand description
Resolves a page declaration by conventional filename or explicit page_id.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::declared_page_relative_path.page_id: Input consumed bycrate::runtime::json_commands::declared_page_relative_path.
§Returns
Returns Some when crate::runtime::json_commands::declared_page_relative_path 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::json_commands::declared_page_relative_path.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::declared_page_relative_path(std::path::Path::new("apps/dev_docs"), "home");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.