pub fn resolve_route_fixture_path(
artifact_dir: &Path,
app_id: &str,
) -> Option<String>Expand description
Resolves a route fixture below an app root with traversal protection.
§Parameters
artifact_dir: Input consumed bycrate::runtime::dynamic::resolve_route_fixture_path.app_id: Input consumed bycrate::runtime::dynamic::resolve_route_fixture_path.
§Returns
Returns Some when crate::runtime::dynamic::resolve_route_fixture_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::dynamic::resolve_route_fixture_path.
§Examples
ⓘ
let _result = pharos_native::runtime::dynamic::resolve_route_fixture_path(std::path::Path::new("build/dev_docs"), todo!());§Related
crate::runtime::dynamicfor adjacent helpers that share the same runtime surface.