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

Method constructor

source code/utils/CircularBuffer.ts:12–14  ·  view source on GitHub ↗
(private capacity: number)

Source from the content-addressed store, hash-verified

10 private size = 0
11
12 constructor(private capacity: number) {
13 this.buffer = new Array(capacity)
14 }
15
16 /**
17 * Add an item to the buffer. If the buffer is full,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected