Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodebuffAI/codebuff
/ clear
Method
clear
cli/src/utils/arrays.ts:108–112 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
106
}
107
108
clear(): void {
109
this._items = repeated(undefined as T, this._defaultCapacity)
110
this._head = 0
111
this._length = 0
112
}
113
114
get length() {
115
return
this._length
Callers
12
clearAgentGeneratorCache
Function · 0.45
clearAllProposedContent
Function · 0.45
clearDatabaseCache
Function · 0.45
agent-registry.test.ts
File · 0.45
resetActivityTracker
Function · 0.45
__resetLocalAgentRegistryForTests
Function · 0.45
reset
Method · 0.45
resetActivityQueryCache
Function · 0.45
useTimeout
Function · 0.45
useSuggestionEngine
Function · 0.45
resetChatCompletionTraceCacheForTests
Function · 0.45
resetFreeModeRateLimits
Function · 0.45
Calls
1
repeated
Function · 0.85
Tested by
no test coverage detected