pub fn write_text_file(path: &Path, content: &str) -> i32Expand description
Writes a text document through durable atomic replacement.
§Parameters
path: Input consumed bycrate::fs::write_text_file.content: Input consumed bycrate::fs::write_text_file.
§Returns
Returns the computed value produced by crate::fs::write_text_file.
§Examples
ⓘ
let _result = pharos_runtime_core::fs::write_text_file(std::path::Path::new("fixture.json"), todo!());§Related
crate::fsfor adjacent helpers that share the same runtime surface.