[][src]Function hina::fs::read_all_text

pub fn read_all_text(path: impl AsRef<Path>) -> Result<String, Error>

opens a text file, reads the contents of the file into a string, and then closes the file.