MCPcopy Create free account
hub / github.com/Effect-TS/effect / push

Function push

packages/effect/src/Graph.ts:8433–8440  ·  view source on GitHub ↗
(node: number)

Source from the content-addressed store, hash-verified

8431 const discovered = new Uint8Array(cache.nodeIds.length)
8432
8433 const push = (node: number) => {
8434 if ((reached === undefined || reached[node] !== 0) && discovered[node] === 0) {
8435 discovered[node] = 1
8436 stack.push(node)
8437 primaryPositions.push(view.primary.rowOffsets[node])
8438 secondaryPositions.push(view.secondary?.rowOffsets[node] ?? 0)
8439 }
8440 }
8441
8442 let startPosition = 0
8443

Callers 1

nextFunction · 0.70

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected