pub fn path_exists(path: &str) -> boolExpand description
Checks whether a path exists without following user-controlled commands.
§Parameters
path: Input consumed bycrate::platform::path_exists.
§Returns
Returns true when the condition checked by crate::platform::path_exists holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::platform::path_exists(std::path::Path::new("fixture.json"));§Related
crate::platformfor adjacent helpers that share the same runtime surface.