pub fn read_file(path: &str) -> String
Reads data from a file and returns a String with the files’s contents
String
fsutils::write_file("text.txt", "Hello, world!"); assert_eq!(fsutils::read_file("text.txt"), "Hello, world!");