Skip to main content

detect_nearest

Function detect_nearest 

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

Detect the project kind, walking up from dir if nothing is found.

Convenience wrapper over detect_walk that returns only the kind.