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

Function resolveWorkspaceDerivedDataRoot

src/utils/derived-data-path.ts:18–21  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

16}
17
18function resolveWorkspaceDerivedDataRoot(cwd: string): string {
19 const workspaceKey = getRuntimeInstanceIfConfigured()?.workspaceKey ?? workspaceKeyForRoot(cwd);
20 return getWorkspaceFilesystemLayout(workspaceKey).derivedData;
21}
22
23export function computeScopedDerivedDataPath(anchorPath: string, cwd?: string): string {
24 const resolvedCwd = cwd ?? process.cwd();

Callers 2

Calls 3

workspaceKeyForRootFunction · 0.90

Tested by

no test coverage detected