pub fn ensure_directory(path: &Path) -> i32Expand description
Ensures directory.
§Parameters
path: Input consumed bycrate::fs::ensure_directory.
§Returns
Returns the computed value produced by crate::fs::ensure_directory.
§Examples
ⓘ
let _result = pharos_runtime_core::fs::ensure_directory(std::path::Path::new("fixture.json"));§Related
crate::fsfor adjacent helpers that share the same runtime surface.