Function libmake::utils::get_csv_field

source ·
pub fn get_csv_field(
    file_path: Option<&str>,
    field_index: usize
) -> Option<Vec<String>>
Expand description

Reads a CSV file at the given file path and returns the value of the given field.


  • file_path - An optional string slice that holds the file path of the CSV file to read.
  • field_index - The index of the field to retrieve.