Skip to main content

is_workspace_root

Function is_workspace_root 

pub fn is_workspace_root(dir: &Path) -> bool
Expand description

#2207: a workspace root groups projects and isn’t one itself, so the language server never analyses it as a project. Whether dir’s bynk.toml parses and holds a [workspace] table. A manifest that doesn’t parse isn’t a workspace root: the command that reads it next reports it as malformed.