MCPcopy
hub / github.com/webpack/webpack / getNumberOfChunkFullHashModules

Method getNumberOfChunkFullHashModules

lib/ChunkGraph.js:660–663  ·  view source on GitHub ↗

* Gets number of chunk full hash modules. * @param {Chunk} chunk the chunk * @returns {number} the number of full hash modules which are contained in this chunk

(chunk)

Source from the content-addressed store, hash-verified

658 * @returns {number} the number of full hash modules which are contained in this chunk
659 */
660 getNumberOfChunkFullHashModules(chunk) {
661 const cgc = this._getChunkGraphChunk(chunk);
662 return cgc.fullHashModules === undefined ? 0 : cgc.fullHashModules.size;
663 }
664
665 /**
666 * Gets chunk modules iterable.

Callers 1

createHashMethod · 0.80

Calls 1

_getChunkGraphChunkMethod · 0.95

Tested by

no test coverage detected