MCPcopy
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

clearAgentGeneratorCacheFunction · 0.45
clearAllProposedContentFunction · 0.45
clearDatabaseCacheFunction · 0.45
resetActivityTrackerFunction · 0.45
resetMethod · 0.45
resetActivityQueryCacheFunction · 0.45
useTimeoutFunction · 0.45
useSuggestionEngineFunction · 0.45
resetFreeModeRateLimitsFunction · 0.45

Calls 1

repeatedFunction · 0.85

Tested by

no test coverage detected