MCPcopy Create free account
hub / github.com/angular/dev-infra / insert

Method insert

github-actions/saucelabs/set-saucelabs-env.js:1121–1127  ·  view source on GitHub ↗

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

(key, value)

Source from the content-addressed store, hash-verified

1119 * @param {any} value
1120 * */
1121 insert(key, value) {
1122 if (this.node === null) {
1123 this.node = new TstNode(key, value, 0);
1124 } else {
1125 this.node.add(key, value);
1126 }
1127 }
1128 /**
1129 * @param {Uint8Array} key
1130 * @return {any}

Callers 2

""Function · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected