pub fn path_has_parent_reference(path: &str) -> boolExpand description
Returns whether a request path contains a parent-directory component.
§Parameters
path: Input consumed bycrate::artifact_server::path_has_parent_reference.
§Returns
Returns true when the condition checked by crate::artifact_server::path_has_parent_reference holds and false otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::artifact_server::path_has_parent_reference.
§Examples
ⓘ
let _result = pharos_runtime_static::artifact_server::path_has_parent_reference(std::path::Path::new("fixture.json"));§Related
crate::artifact_serverfor adjacent helpers that share the same runtime surface.