MCPcopy Index your code
hub / github.com/Effect-TS/effect / makeUpdate

Function makeUpdate

packages/effect/src/internal/differ/chunkPatch.ts:102–107  ·  view source on GitHub ↗
(index: number, patch: Patch)

Source from the content-addressed store, hash-verified

100})
101
102const makeUpdate = <Value, Patch>(index: number, patch: Patch): Differ.Differ.Chunk.Patch<Value, Patch> => {
103 const o = Object.create(UpdateProto)
104 o.index = index
105 o.patch = patch
106 return o
107}
108
109type Instruction =
110 | Empty<any, any>

Callers 1

diffFunction · 0.70

Calls 1

createMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…