MCPcopy Index your code
hub / github.com/webpack/webpack / setPostOrderIndex

Method setPostOrderIndex

lib/ModuleGraph.js:841–844  ·  view source on GitHub ↗

* Sets post order index. * @param {Module} module the module * @param {number} index the index of the module * @returns {void}

(module, index)

Source from the content-addressed store, hash-verified

839 * @returns {void}
840 */
841 setPostOrderIndex(module, index) {
842 const mgm = this._getModuleGraphModule(module);
843 mgm.postOrderIndex = index;
844 }
845
846 /**
847 * Sets post order index if unset.

Callers 1

index2Method · 0.80

Calls 1

_getModuleGraphModuleMethod · 0.95

Tested by

no test coverage detected