pub fn detector_for(language: &str) -> Option<Box<dyn EntryPointDetector>>Expand description
Return the entry-point detector for a language identifier.
language is the lowercased language name as used in
crate::languages ("rust", "python", "go"). Returns None for
any language not yet covered by this wave; X4 will extend coverage to
JS/TS, Java, C/C++, Ruby, Scala, Kotlin, Swift, and Bash.
File-extension dispatch ("rs", "py", "pyi", "go") is also
accepted for caller convenience — the BFS walk in X2 carries
extensions, not language names, through its per-file loop.