[][src]Function ari::fs::read_all_lines

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

opens a text file, reads the all lines of the file into a vec<string>, and then closes the file.