Skip to main content

by_frecency

Function by_frecency 

Source
pub fn by_frecency(
    recents: Vec<PathBuf>,
    visits: &HashMap<PathBuf, Visits>,
) -> Vec<PathBuf>
Expand description

recents, most recent first, reordered by frecency. Ties, and recents opened before visits were counted, keep the order they had.