pub fn file_write_string(
path: &str,
data: &str,
) -> Result<EmptyStruct, FileError>Expand description
Write string to a file (creates or overwrites)
ยงErrors
Returns a FileError if the filesystem operation fails (e.g. path not found, permission denied, or an I/O error).