MCPcopy
hub / github.com/webpack/webpack / add

Method add

lib/util/runtime.js:706–708  ·  view source on GitHub ↗

* Processes the provided runtime. * @param {RuntimeSpec} runtime runtime

(runtime)

Source from the content-addressed store, hash-verified

704 * @param {RuntimeSpec} runtime runtime
705 */
706 add(runtime) {
707 this._map.set(getRuntimeKey(runtime), runtime);
708 }
709
710 /**
711 * Returns true, when the runtime exists.

Callers 4

getModuleRuntimesFunction · 0.95
constructorMethod · 0.95
getEntryRuntimeFunction · 0.45
mergeRuntimeOwnedFunction · 0.45

Calls 2

getRuntimeKeyFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected