pub fn detect_line_ending(text: &str) -> Option<LineEndingStyle>
Detect the predominant line ending in text.