pub fn runtime_declared_page_file_matches_id(path: &Path, page_id: &str) -> boolExpand description
Matches a declared page filename to a validated page identifier.
§Parameters
path: Input consumed bycrate::runtime::json_commands::runtime_declared_page_file_matches_id.page_id: Input consumed bycrate::runtime::json_commands::runtime_declared_page_file_matches_id.
§Returns
Returns true when the condition checked by crate::runtime::json_commands::runtime_declared_page_file_matches_id holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::runtime_declared_page_file_matches_id(std::path::Path::new("fixture.json"), "home");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.