MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / getLogByIndex

Function getLogByIndex

src/utils/sessionStorage.ts:4580–4583  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

4578 * @returns Log data or null if not found
4579 */
4580export async function getLogByIndex(index: number): Promise<LogOption | null> {
4581 const logs = await loadMessageLogs()
4582 return logs[index] || null
4583}
4584
4585/**
4586 * 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