pub fn detect(dir: &Path) -> AppKind
Classify the app directory by inspecting its files. See the module docs for the precedence rules and heuristics.