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

Function formatLeaf

src/utils/renderers/path-tree.ts:90–92  ·  view source on GitHub ↗
(node: PathTreeNode, displayName: string)

Source from the content-addressed store, hash-verified

88}
89
90function formatLeaf(node: PathTreeNode, displayName: string): string {
91 return node.label ? `${displayName} — ${node.label}` : displayName;
92}
93
94function flattenSingleChildChain(node: PathTreeNode): PathTreeNode {
95 let current = node;

Callers 1

renderNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected