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

Method clear

src/utils/CircularBuffer.ts:72–76  ·  view source on GitHub ↗

* Clear all items from the buffer.

()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected