Skip to main content

apply_boost

Function apply_boost 

Source
pub fn apply_boost(scores: &mut [RelevanceScore], root: &str)
Expand description

Apply the git boost to an already-computed relevance ranking and re-sort. Call sites own the project root; the ranking itself is root-agnostic.