Skip to main content

add_workspace_to_registry

Function add_workspace_to_registry 

Source
pub fn add_workspace_to_registry(
    database_path: &Path,
    workspace_name: &str,
    config_path: &Path,
) -> Result<WorkspaceMutationSummary, ApplicationError>
Expand description

Validates and adds a workspace manifest to the persisted registry.

ยงErrors

Returns ApplicationError for name mismatch, duplicate registration, invalid configuration, path policy, locking, migration, or storage failure.