Function write_string_to_file
Source pub fn write_string_to_file(path: &str, data: &str) -> bool
Expand description
Writes a string to a file.
§Arguments
path - The path to the file to write the string to.
data - The string to write to the file.
§Example
let success = cgl_rs::utils::write_string_to_file("log.txt", "Hello, world!");