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

Function normalizePathValue

src/utils/project-config.ts:131–138  ·  view source on GitHub ↗
(value: string, cwd: string)

Source from the content-addressed store, hash-verified

129}
130
131function normalizePathValue(value: string, cwd: string): string {
132 const fileUrlPath = tryFileUrlToPath(value);
133 if (fileUrlPath) {
134 return fileUrlPath;
135 }
136
137 return resolvePathFromCwd(value, cwd);
138}
139
140function resolveRelativeSessionPaths(
141 defaults: Partial<SessionDefaults>,

Callers 2

Calls 2

resolvePathFromCwdFunction · 0.90
tryFileUrlToPathFunction · 0.85

Tested by

no test coverage detected