pub fn safe_existing_artifact_path(
root: &Path,
relative: &str,
) -> Option<PathBuf>Expand description
Resolves a relative artifact path and proves it remains under the artifact root.
§Parameters
root: Input consumed bycrate::safe_existing_artifact_path.relative: Input consumed bycrate::safe_existing_artifact_path.
§Returns
Returns Some when crate::safe_existing_artifact_path can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_runtime_core::safe_existing_artifact_path(std::path::Path::new("."), todo!());§Related
cratefor adjacent helpers that share the same runtime surface.