MCPcopy
hub / github.com/di-sukharev/opencommit / forEach

Method forEach

out/cli.cjs:8210–8213  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

8208 return 16384 === o3 && (t2 = e3._next, o3 = 0), --this._size, this._cursor = o3, e3 !== t2 && (this._front = t2), n2[r3] = void 0, a4;
8209 }
8210 forEach(e3) {
8211 let t2 = this._cursor, r3 = this._front, o3 = r3._elements;
8212 for (; !(t2 === o3.length && void 0 === r3._next || t2 === o3.length && (r3 = r3._next, o3 = r3._elements, t2 = 0, 0 === o3.length)); ) e3(o3[t2]), ++t2;
8213 }
8214 peek() {
8215 const e3 = this._front, t2 = this._cursor;
8216 return e3._elements[t2];

Callers 15

addFunction · 0.45
Z5Function · 0.45
IeFunction · 0.45
ttFunction · 0.45
GtFunction · 0.45
XtFunction · 0.45

Calls 1

e3Function · 0.85

Tested by 2

resetEnvFunction · 0.36
resetEnvFunction · 0.36