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

Function resolveWorkspaceIdentity

src/utils/workspace-identity.ts:39–48  ·  view source on GitHub ↗
(opts: {
  cwd: string;
  projectConfigPath?: string;
})

Source from the content-addressed store, hash-verified

37}
38
39export function resolveWorkspaceIdentity(opts: {
40 cwd: string;
41 projectConfigPath?: string;
42}): WorkspaceIdentity {
43 const workspaceRoot = resolveWorkspaceRoot(opts);
44 return {
45 workspaceRoot,
46 workspaceKey: workspaceKeyForRoot(workspaceRoot),
47 };
48}

Callers 2

bootstrapRuntimeFunction · 0.90

Calls 2

resolveWorkspaceRootFunction · 0.85
workspaceKeyForRootFunction · 0.85

Tested by

no test coverage detected