Skip to main content

path_last_segment_is_apps_runtime_local

Function path_last_segment_is_apps_runtime_local 

Source
pub fn path_last_segment_is_apps_runtime_local(path: &Path) -> bool
Expand description

Tests whether the final path component is the protected runtime directory.

§Parameters

§Returns

Returns true when the condition checked by crate::config::path_last_segment_is_apps_runtime_local holds and false otherwise.

§Examples

ⓘ
let _result = pharos_runtime_core::config::path_last_segment_is_apps_runtime_local(std::path::Path::new("fixture.json"));
  • crate::config for adjacent helpers that share the same runtime surface.