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

Function resolveContainerReference

src/utils/test-preflight.ts:105–116  ·  view source on GitHub ↗
(reference: string, baseDir: string)

Source from the content-addressed store, hash-verified

103}
104
105function resolveContainerReference(reference: string, baseDir: string): string {
106 if (reference.startsWith('container:')) {
107 return path.resolve(baseDir, reference.slice('container:'.length));
108 }
109 if (reference.startsWith('group:')) {
110 return path.resolve(baseDir, reference.slice('group:'.length));
111 }
112 if (reference.startsWith('absolute:')) {
113 return reference.slice('absolute:'.length);
114 }
115 return path.resolve(baseDir, reference);
116}
117
118async function findSchemePath(
119 params: { workspacePath?: string; projectPath?: string; scheme: string },

Callers 3

findSchemePathFunction · 0.85
parseTestPlanTargetsFunction · 0.85

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected