Skip to main content

parse_control_line_limit

Function parse_control_line_limit 

Source
pub fn parse_control_line_limit(input: &str) -> Result<Option<usize>>
Expand description

Parse a control line limit: a parse_size value, or all for no bound.

The grammar of crate::control::ControlLimits::line_limit, shared so the command line’s --gitignore-line-limit and the Python API’s control_line_limit accept the same words.