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

Function _temp2

src/components/ValidationErrorsList.tsx:131–139  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

129 return <Box key={`suggestion-pair-${index}`} flexDirection="column" marginBottom={1}>{pair.suggestion && <Text dimColor={true} wrap="wrap">{pair.suggestion}</Text>}{pair.docLink && <Text dimColor={true} wrap="wrap">Learn more: {pair.docLink}</Text>}</Box>;
130}
131function _temp2(a, b) {
132 if (!a.path && b.path) {
133 return -1;
134 }
135 if (a.path && !b.path) {
136 return 1;
137 }
138 return (a.path || "").localeCompare(b.path || "");
139}
140function _temp(acc, error) {
141 const file = error.file || "(file not specified)";
142 if (!acc[file]) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected