MCPcopy Index your code
hub / github.com/codeaashu/claude-code / insert

Method insert

src/server/web/public/terminal.js:3588–3590  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

3586 this._array.length = 0;
3587 }
3588 insert(e3) {
3589 0 !== this._array.length ? (i2 = this._search(this._getKey(e3)), this._array.splice(i2, 0, e3)) : this._array.push(e3);
3590 }
3591 delete(e3) {
3592 if (0 === this._array.length) return false;
3593 const t3 = this._getKey(e3);

Callers 1

registerDecorationMethod · 0.45

Calls 3

_searchMethod · 0.80
spliceMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected