Skip to main content

read_limit_lines

Function read_limit_lines 

Source
pub fn read_limit_lines() -> usize
Expand description

Absolute ceiling (in lines) for a single line-based read_file call.

Returns the configured max_read_lines, or DEFAULT_MAX_READ_LINES when the value is zero/unspecified, so a misconfigured 0 never disables the cap.