Skip to main content

detect_delimiter

Function detect_delimiter 

Source
pub fn detect_delimiter(path: &str, tsv_checked: bool) -> u8
Expand description

The delimiter for path: TSV if tsv_checked or the path ends in .tsv, else CSV. Matches the CLI’s --tsv/extension convention exactly.