MCPcopy
hub / github.com/liuup/claude-code-analysis / maybeDumpStateForDebug

Function maybeDumpStateForDebug

src/utils/fileHistory.ts:1110–1115  ·  view source on GitHub ↗
(state: FileHistoryState)

Source from the content-addressed store, hash-verified

1108
1109const ENABLE_DUMP_STATE = false
1110function maybeDumpStateForDebug(state: FileHistoryState): void {
1111 if (ENABLE_DUMP_STATE) {
1112 // biome-ignore lint/suspicious/noConsole:: intentional console output
1113 console.error(inspect(state, false, 5))
1114 }
1115}

Callers 2

fileHistoryTrackEditFunction · 0.85
fileHistoryMakeSnapshotFunction · 0.85

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected