pub fn resolve_runtime_path(root: &Path, relative: &str) -> Option<PathBuf>Expand description
Returns a path under a trusted root for a validated relative helper value.
§Parameters
root: Input consumed bycrate::runtime::ops_bridge::resolve_runtime_path.relative: Input consumed bycrate::runtime::ops_bridge::resolve_runtime_path.
§Returns
Returns Some when crate::runtime::ops_bridge::resolve_runtime_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::ops_bridge::resolve_runtime_path.
§Examples
ⓘ
let _result = pharos_native::runtime::ops_bridge::resolve_runtime_path(std::path::Path::new("."), todo!());§Related
crate::runtime::ops_bridgefor adjacent helpers that share the same runtime surface.