MCPcopy Create free account
hub / github.com/nodejs/node / lookup

Method lookup

deps/undici/src/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 3

runLookupMethod · 0.45
headerNameToStringFunction · 0.45

Calls 1

searchMethod · 0.45

Tested by

no test coverage detected