MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / normalizeWorkspaceJoinCode

Function normalizeWorkspaceJoinCode

packages/db/src/workspaces.ts:276–278  ·  view source on GitHub ↗
(joinCode: string)

Source from the content-addressed store, hash-verified

274}
275
276function normalizeWorkspaceJoinCode(joinCode: string): string {
277 return joinCode.trim().toUpperCase().replace(/[^A-Z0-9]/g, "");
278}
279
280export function hardDeleteWorkspaceSync(id: string): HardDeleteWorkspaceResult {
281 if (id === DEFAULT_WORKSPACE_ID) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected