Skip to main content

match_score

Function match_score 

Source
pub fn match_score(filter: &str, entry: &Entry) -> Option<i32>
Expand description

How well an entry answers the filter, by name or by column (the footer’s column names: “which has a customer_id?”). A name match always outranks a column match. Higher is better, as in fzf; see crate::home::fuzzy.