Skip to main content

simple_length

Function simple_length 

Source
pub fn simple_length(match_str: &str) -> usize
Expand description

Returns the length of the leading literal segment before the first glob metacharacter, matching Git’s simple_length() (* ? [ \) on bytes.