pub fn register_workspace(
config_path: &Path,
manifest_source: &str,
manifest: &WorkspaceManifest,
) -> Result<RegisteredWorkspace, RegistryError>Expand description
Resolves canonical repository and linked-worktree identities without modifying Git state.
The manifest directory is always an allowed root. Additional roots must be declared through
allowedRoots. Repository IDs prefer a credential-free normalized remote and otherwise use
the Git common directory or canonical checkout path. Checkout IDs always include the concrete
worktree path.
ยงErrors
Returns RegistryError when configured paths do not exist, cannot be canonicalized, or
escape the root allowlist.