Skip to main content

nodes_in_file

Function nodes_in_file 

Source
pub fn nodes_in_file<'a>(
    nodes: &'a [CodeNode],
    file_path: &str,
) -> Vec<&'a CodeNode>
Expand description

Query nodes by file path (returns nodes whose ID contains the path).