Skip to main content

check_module_pattern

Function check_module_pattern 

Source
pub fn check_module_pattern(pattern: &str, source_dir: &Path) -> bool
Expand description

Scan all .rs files in a module’s source directory for structural evidence.

Returns true if ANY file in the directory passes the pattern heuristic. File discovery is delegated to walker::read_rs_sources to keep this module focused on AST analysis.