Skip to main content

resolve_workspace_scope_roots

Function resolve_workspace_scope_roots 

Source
pub fn resolve_workspace_scope_roots(
    root: &Path,
    workspace: Option<&[String]>,
    changed_workspaces: Option<&str>,
    workspaces: &[WorkspaceInfo],
) -> Result<Option<Vec<PathBuf>>, WorkspaceScopeError>
Expand description

Resolve either explicit or changed workspace scope against discovered metadata.

ยงErrors

Returns a typed scope error when the selection is invalid or git cannot resolve changed files.