MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / clear

Method clear

source code/utils/CircularBuffer.ts:74–78  ·  view source on GitHub ↗

* Clear all items from the buffer.

()

Source from the content-addressed store, hash-verified

72 * Clear all items from the buffer.
73 */
74 clear(): void {
75 this.buffer.length = 0
76 this.head = 0
77 this.size = 0
78 }
79
80 /**
81 * Get the current number of items in the buffer.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected