pub fn runtime_path_has_suffix(path: &Path, suffix: &str) -> boolExpand description
Tests whether a path ends with a validated suffix.
§Parameters
path: Input consumed bycrate::runtime::json_commands::runtime_path_has_suffix.suffix: Input consumed bycrate::runtime::json_commands::runtime_path_has_suffix.
§Returns
Returns true when the condition checked by crate::runtime::json_commands::runtime_path_has_suffix holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::runtime_path_has_suffix(std::path::Path::new("fixture.json"), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.