Function tekton::utils::read_lines

source ·
pub fn read_lines(fname: &String) -> Result<Vec<String>, Error>
Expand description

Function to read the lines of a file and returns a Vec of Strings Arguments:

  • fname is the filename of the snippets to read from

Returns:

  • Result of vector of String or Error