Skip to main content

classify_module

Function classify_module 

Source
pub fn classify_module(
    module: &ModuleName,
    covered_modules: &BTreeSet<ModuleName>,
    resolve_module_path: &dyn Fn(&ModuleName) -> Option<RelativePath>,
) -> ModuleProvenance
Expand description

Classify a called module. Snapshot coverage wins over an in-tree file, so a tracked dep that also has a vendored copy in the tree still defers to its snapshot.