Skip to main content

discover

Function discover 

Source
pub fn discover(repo_root: &Path) -> Vec<Project>
Expand description

Find every package-manager project in repo_root, including the root itself.

Walks to the default depth. Callers that have the user’s settings to hand should use discover_to_depth with resolve_depth instead.

Returns an empty vector when nothing in the tree is recognised.