Skip to main content

mark_sites

Function mark_sites 

Source
pub fn mark_sites<'a>(
    root: &Path,
    sites: impl IntoIterator<Item = (&'a str, usize)>,
) -> Vec<BlockedSite>
Expand description

Marks each (path, line) site with the text of its line in the working tree. A site whose line cannot be read gets no mark.