MCPcopy
hub / github.com/codeaashu/claude-code / isLiteLog

Function isLiteLog

src/utils/sessionStorage.ts:2940–2942  ·  view source on GitHub ↗
(log: LogOption)

Source from the content-addressed store, hash-verified

2938 * Lite logs have messages: [] and sessionId set.
2939 */
2940export function isLiteLog(log: LogOption): boolean {
2941 return log.messages.length === 0 && log.sessionId !== undefined
2942}
2943
2944/**
2945 * Loads full messages for a lite log by reading its JSONL file.

Callers 6

SessionPreviewFunction · 0.85
agenticSessionSearchFunction · 0.85
loadFullLogFunction · 0.85
handleSelectFunction · 0.85
callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected