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

Function _temp3

src/components/LogSelector.tsx:1476–1484  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1474 };
1475}
1476function _temp3(a, b) {
1477 const aTime = new Date(a.item.log.modified).getTime();
1478 const bTime = new Date(b.item.log.modified).getTime();
1479 const timeDiff = bTime - aTime;
1480 if (Math.abs(timeDiff) > DATE_TIE_THRESHOLD_MS) {
1481 return timeDiff;
1482 }
1483 return (a.score ?? 1) - (b.score ?? 1);
1484}
1485function _temp2(log_1) {
1486 const currentSessionId = getSessionId();
1487 const logSessionId = getSessionIdFromLog(log_1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected