Skip to main content

detect

Function detect 

Source
pub fn detect(dir: impl AsRef<Path>) -> Option<ProjectKind>
Expand description

Detect the project kind from files in dir.

Checks language-specific files first (high confidence), then falls back to generic build systems (lower confidence). Returns None if no recognized project files are found.