MCPcopy Create free account
hub / github.com/arktypeio/arktype / keep

Function keep

ark/aot/unwrite.ts:215–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213 }
214 let [b, o] = [0, 0]
215 const keep = () => {
216 if (isMapped(b, o)) readAt[b] = o
217 b++
218 o++
219 }
220 for (const [start, end, , readEnd] of diff(base, read)) {
221 while (b < start) keep()
222 b = end

Callers 1

readAtOfFunction · 0.70

Calls 1

isMappedFunction · 0.85

Tested by

no test coverage detected