Skip to main content

detect_project

Function detect_project 

Source
pub fn detect_project(
    entry: &Path,
    vfs: &dyn Vfs,
) -> Option<(PathBuf, ProjectKind)>
Expand description

Detect the project kind from the entry file extension, then walk up to find the matching project root marker. Returns None for unsupported file extensions.