Function rust_utils::utils::read_file
source · [−]👎 Deprecated since 0.6.0:
fs::read_to_string() does the exact same thing as this. Will be removed in 0.7.0
Expand description
Abstraction around fs::read_to_string() that includes error handling
Returns the file content as a String
or returns “ERR” if something went wrong