Skip to main content

discover_projects

Function discover_projects 

Source
pub fn discover_projects(
    root: &Path,
    engine: &DetectionEngine,
    config: &WorkspaceConfig,
) -> Vec<WorkspaceProject>
Expand description

Recursively scan a directory tree to discover all testable projects.

Returns projects sorted by path. Each project is the “deepest” match — if /repo/services/api has a Cargo.toml and /repo also has one, both are returned as separate projects.