get_reader

Function get_reader 

Source
pub fn get_reader<P: AsRef<Path>>(
    path: &Option<P>,
    has_headers: bool,
    bgzipped: bool,
) -> Result<Reader<Box<dyn Read>>>
Expand description

Get a CSV Reader

§Errors

  • If unable to open file

§Panics

  • If unable to parse input path