Skip to main content

selected_files

Function selected_files 

Source
fn selected_files<'a, T: FileMatches + Clone>(
    files: &'a [T],
    file_type: &'a str,
    selected: &'a BTreeMap<(&str, usize), HashSet<usize>>,
) -> impl Iterator<Item = T> + 'a
Expand description

Returns copies of the files of a type in open packs with selected matches, keeping only those matches.