MCPcopy Index your code
hub / github.com/TanStack/db / reifyValues

Method reifyValues

packages/db/src/utils/btree.ts:572–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570 }
571
572 reifyValues() {
573 if (this.values === undefVals)
574 return (this.values = this.values.slice(0, this.keys.length))
575 return this.values
576 }
577
578 insertInLeaf(i: index, key: K, value: V, tree: BTree<K, V>) {
579 this.keys.splice(i, 0, key)

Callers 4

setMethod · 0.95
takeFromRightMethod · 0.95
takeFromLeftMethod · 0.95
mergeSiblingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected