MCPcopy Index your code
hub / github.com/nodejs/node / insert

Method insert

deps/undici/undici.js:1552–1558  ·  view source on GitHub ↗

* @param {string} key * @param {any} value * @returns {void} *

(key, value)

Source from the content-addressed store, hash-verified

1550 * @returns {void}
1551 * */
1552 insert(key, value) {
1553 if (this.node === null) {
1554 this.node = new TstNode(key, value, 0);
1555 } else {
1556 this.node.add(key, value);
1557 }
1558 }
1559 /**
1560 * @param {Uint8Array} key
1561 * @returns {any}

Callers 15

configure.pyFile · 0.45
gyp_node.pyFile · 0.45
call_filterMethod · 0.45
as_constMethod · 0.45
as_constMethod · 0.45
gyp_main.pyFile · 0.45
MergeListsFunction · 0.45
ProcessListFiltersInDictFunction · 0.45
LoadFunction · 0.45
VisitFunction · 0.45

Calls 1

addMethod · 0.65

Tested by

no test coverage detected