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

Method addAll

src/utils/CircularBuffer.ts:29–33  ·  view source on GitHub ↗

* Add multiple items to the buffer at once.

(items: T[])

Source from the content-addressed store, hash-verified

27 * Add multiple items to the buffer at once.
28 */
29 addAll(items: T[]): void {
30 for (const item of items) {
31 this.add(item)
32 }
33 }
34
35 /**
36 * Get the most recent N items from the buffer.

Callers 2

Calls 1

addMethod · 0.95

Tested by

no test coverage detected