Function get_dynamic_reader_w_stdin
Source pub fn get_dynamic_reader_w_stdin(
file_path_str: &str,
) -> Result<BufReader<Box<dyn Read>>>
Expand description
Get a reader for either a gzipped, non-gzipped file, or stdin
§Arguments
- file_path: path to the file to read, or ‘-’ for stdin
§Returns
A BufReader object for a given file path or stdin.