Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
436
export
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
clear
Method · 0.45
Tested by
no test coverage detected