Skip to main content

is_project_workspace

Function is_project_workspace 

Source
pub fn is_project_workspace() -> bool
Expand description

Returns true if the workspace root looks like a real project. A bare .git alone (e.g. accidental git init in the home folder) doesn’t count — at least one explicit build/package marker must also be present.