MCPcopy
hub / github.com/claude-code-best/claude-code / maybeDumpStateForDebug

Function maybeDumpStateForDebug

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

Source from the content-addressed store, hash-verified

1110
1111const ENABLE_DUMP_STATE = false
1112function maybeDumpStateForDebug(state: FileHistoryState): void {
1113 if (ENABLE_DUMP_STATE) {
1114 console.error(inspect(state, false, 5))
1115 }
1116}

Callers 2

fileHistoryTrackEditFunction · 0.85
fileHistoryMakeSnapshotFunction · 0.85

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected