MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / childRawPath

Function childRawPath

src/utils/renderers/path-tree.ts:48–56  ·  view source on GitHub ↗
(parentRawPath: string, component: string)

Source from the content-addressed store, hash-verified

46}
47
48function childRawPath(parentRawPath: string, component: string): string {
49 if (component === '/') {
50 return '/';
51 }
52 if (parentRawPath === '' || parentRawPath === '/') {
53 return `${parentRawPath}${component}`;
54 }
55 return `${parentRawPath}/${component}`;
56}
57
58function addPath(root: PathTreeNode, parsedPath: ParsedPath): void {
59 let node = root;

Callers 1

addPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected