Function rust_utils::utils::save_file
source · [−]👎 Deprecated since 0.6.0:
fs::write() does the exact same thing as this. Will be removed in 0.7.0
Expand description
Abstraction around fs::write() that includes error handling
Returns the following codes:
OK: Save operation successful
ERR: There was a problem writing the file