MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getLogByIndex

Function getLogByIndex

source code/utils/sessionStorage.ts:4470–4473  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

4468 * @returns Log data or null if not found
4469 */
4470export async function getLogByIndex(index: number): Promise<LogOption | null> {
4471 const logs = await loadMessageLogs()
4472 return logs[index] || null
4473}
4474
4475/**
4476 * Looks up unresolved tool uses in the transcript by tool_use_id.

Callers

nothing calls this directly

Calls 1

loadMessageLogsFunction · 0.85

Tested by

no test coverage detected