Function parse_file_for_code_blocks

Source
pub fn parse_file_for_code_blocks(
    content: &str,
    extension: &str,
    line_numbers: &HashSet<usize>,
    allow_tests: bool,
    _term_matches: Option<&HashMap<usize, HashSet<usize>>>,
) -> Result<Vec<CodeBlock>>
Expand description

Function to parse a file and extract code blocks for the given line numbers