Function
makeSlice
(from: number, until: number)
Source from the content-addressed store, hash-verified
| 83 | }) |
| 84 | |
| 85 | const makeSlice = <Value, Patch>(from: number, until: number): Differ.Differ.Chunk.Patch<Value, Patch> => { |
| 86 | const o = Object.create(SliceProto) |
| 87 | o.from = from |
| 88 | o.until = until |
| 89 | return o |
| 90 | } |
| 91 | |
| 92 | interface Update<Value, Patch> extends Differ.Differ.Chunk.Patch<Value, Patch> { |
| 93 | readonly _tag: "Update" |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…