Skip to main content

export

Function export 

Source
pub fn export(
    index: &ProjectIndex,
    admit: impl Fn(&str) -> bool,
    screen: &mut Screen,
) -> CodeGraph
Expand description

The graph of index, keeping only files admit lets through. Every path and symbol name passes the outbound screen (connector rule: every outbound content item is screened); a path it refuses withholds the file, a name it refuses drops the symbol.