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

Function formatPathListLines

src/utils/renderers/event-formatting.ts:128–134  ·  view source on GitHub ↗
(details: readonly DetailTreePathItem[])

Source from the content-addressed store, hash-verified

126}
127
128function formatPathListLines(details: readonly DetailTreePathItem[]): string[] {
129 return details.map((detail, index) => {
130 const branch = index === details.length - 1 ? '└' : '├';
131 const displayed = displayPath(detail.path);
132 return detail.label ? `${branch} ${detail.label}: ${displayed}` : `${branch} ${displayed}`;
133 });
134}
135
136function formatDetailTreeLines(
137 details: readonly DetailTreeItem[],

Callers 1

formatDetailTreeLinesFunction · 0.85

Calls 1

displayPathFunction · 0.90

Tested by

no test coverage detected