MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _temp2

Function _temp2

src/components/DiagnosticsDisplay.tsx:89–91  ·  view source on GitHub ↗
(diagnostic, diagIndex)

Source from the content-addressed store, hash-verified

87 return <React.Fragment key={fileIndex}><MessageResponse><Text dimColor={true} wrap="wrap"><Text bold={true}>{relative(getCwd(), file_0.uri.replace("file://", "").replace("_claude_fs_right:", ""))}</Text>{" "}<Text dimColor={true}>{file_0.uri.startsWith("file://") ? "(file://)" : file_0.uri.startsWith("_claude_fs_right:") ? "(claude_fs_right)" : `(${file_0.uri.split(":")[0]})`}</Text>:</Text></MessageResponse>{file_0.diagnostics.map(_temp2)}</React.Fragment>;
88}
89function _temp2(diagnostic, diagIndex) {
90 return <MessageResponse key={diagIndex}><Text dimColor={true} wrap="wrap">{" "}{DiagnosticTrackingService.getSeveritySymbol(diagnostic.severity)}{" [Line "}{diagnostic.range.start.line + 1}:{diagnostic.range.start.character + 1}{"] "}{diagnostic.message}{diagnostic.code ? ` [${diagnostic.code}]` : ""}{diagnostic.source ? ` (${diagnostic.source})` : ""}</Text></MessageResponse>;
91}
92function _temp(sum, file) {
93 return sum + file.diagnostics.length;
94}

Callers

nothing calls this directly

Calls 1

getSeveritySymbolMethod · 0.80

Tested by

no test coverage detected