Skip to main content

enrich

Function enrich 

Source
pub fn enrich(
    b: &mut ModelBuilder,
    root: &Path,
    keep: &dyn Fn(&str) -> bool,
    warnings: &mut Vec<String>,
) -> Result<PythonStats>
Expand description

Reads every .py file under root (gitignore honoured) accepted by keep (path relative to root, /-separated) and adds its endpoints.