Struct whitespace_rs::ender::EolInfo [−][src]
Expand description
File line information.
Fields
cr: usizeNumber of lines that end in carriage return
lf: usizeNumber of lines that end in line feeds
crlf: usizeNumber of lines that end in carriage return/line feed
num_lines: usizeTotal number of lines in the file (includes lines with no ending)
Implementations
Get the most common end-of-line based on the info.