MCPcopy
hub / github.com/webpack/webpack / setParentDependenciesBlockIndex

Method setParentDependenciesBlockIndex

lib/ModuleGraph.js:221–223  ·  view source on GitHub ↗

* Sets parent dependencies block index. * @param {Dependency} dependency the dependency * @param {number} index the index * @returns {void}

(dependency, index)

Source from the content-addressed store, hash-verified

219 * @returns {void}
220 */
221 setParentDependenciesBlockIndex(dependency, index) {
222 dependency._parentDependenciesBlockIndex = index;
223 }
224
225 /**
226 * Gets parent module.

Callers 1

finishUpdateParentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected