pub fn line_count_at_pos<P: AsRef<Path>>(path: P, pos: usize) -> Result<usize>
Expand description

Return the 1-indexed line number for the byte at position pos