MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / configureRuntimeWorkspaceKey

Function configureRuntimeWorkspaceKey

src/utils/runtime-instance.ts:14–23  ·  view source on GitHub ↗
(workspaceKey: string)

Source from the content-addressed store, hash-verified

12let runtimeInstance: RuntimeInstance | null = null;
13
14export function configureRuntimeWorkspaceKey(workspaceKey: string): void {
15 const normalized = workspaceKey.trim();
16 if (!normalized) {
17 throw new Error('Workspace key cannot be empty');
18 }
19 configuredWorkspaceKey = normalized;
20 if (runtimeInstance) {
21 runtimeInstance = { ...runtimeInstance, workspaceKey: normalized };
22 }
23}
24
25export function getRuntimeInstance(): RuntimeInstance {
26 const workspaceKey = configuredWorkspaceKey;

Callers 1

bootstrapRuntimeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected