MCPcopy
hub / github.com/nodejs/undici / lookup

Method lookup

lib/core/tree.js:145–147  ·  view source on GitHub ↗

* @param {Uint8Array} key * @returns {any}

(key)

Source from the content-addressed store, hash-verified

143 * @returns {any}
144 */
145 lookup (key) {
146 return this.node?.search(key)?.value ?? null
147 }
148}
149
150const tree = new TernarySearchTree()

Callers 5

runLookupMethod · 0.80
headerNameToStringFunction · 0.80
tree.jsFile · 0.80
tree.mjsFile · 0.80

Calls 1

searchMethod · 0.80

Tested by

no test coverage detected