pub fn write_to_file(filename: String, contents: String) -> bool
Expand description

Tries to write to a file and returns a boolean depending on whether the operation succeeded.