MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _temp2

Function _temp2

src/components/LogSelector.tsx:1485–1503  ·  view source on GitHub ↗
(log_1)

Source from the content-addressed store, hash-verified

1483 return (a.score ?? 1) - (b.score ?? 1);
1484}
1485function _temp2(log_1) {
1486 const currentSessionId = getSessionId();
1487 const logSessionId = getSessionIdFromLog(log_1);
1488 const isCurrentSession = currentSessionId && logSessionId === currentSessionId;
1489 if (isCurrentSession) {
1490 return true;
1491 }
1492 if (log_1.customTitle) {
1493 return true;
1494 }
1495 const fromMessages = getFirstMeaningfulUserMessageTextContent(log_1.messages);
1496 if (fromMessages) {
1497 return true;
1498 }
1499 if (log_1.firstPrompt || log_1.customTitle) {
1500 return true;
1501 }
1502 return false;
1503}
1504function _temp(log) {
1505 return [log, buildSearchableText(log)];
1506}

Callers

nothing calls this directly

Calls 3

getSessionIdFunction · 0.85
getSessionIdFromLogFunction · 0.85

Tested by

no test coverage detected