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

Function clearPendingHistoryEntries

src/history.ts:436–440  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

434}
435
436export function clearPendingHistoryEntries(): void {
437 pendingEntries = []
438 lastAddedEntry = null
439 skippedTimestamps.clear()
440}
441
442/**
443 * Undo the most recent addToHistory call. Used by auto-restore-on-interrupt:

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected