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

Function resolveWorkspaceKey

src/utils/workspace-filesystem-lifecycle.ts:116–128  ·  view source on GitHub ↗
(options: WorkspaceFilesystemLifecycleOptions)

Source from the content-addressed store, hash-verified

114}
115
116function resolveWorkspaceKey(options: WorkspaceFilesystemLifecycleOptions): string {
117 if (options.workspaceKey) {
118 return options.workspaceKey;
119 }
120 const runtimeInstance = getRuntimeInstanceIfConfigured();
121 if (runtimeInstance) {
122 return runtimeInstance.workspaceKey;
123 }
124 if (options.logDir) {
125 return 'custom-log-dir';
126 }
127 return getRuntimeInstance().workspaceKey;
128}
129
130function resolveOptions(
131 options: WorkspaceFilesystemLifecycleOptions,

Callers 1

resolveOptionsFunction · 0.70

Calls 2

getRuntimeInstanceFunction · 0.90

Tested by

no test coverage detected