Skip to main content

create_multi_workspace

Function create_multi_workspace 

Source
pub fn create_multi_workspace(
    specs: &[MultiSpec],
    workspaces_root: &Path,
) -> Result<PathBuf>
Expand description

Create a unified workspace under workspaces_root, one sub-dir per spec. Registers the root with WorkspaceRegistry for TTL-based pruning.

ยงErrors

Returns an error if any directory, clone, fetch, or worktree step fails.