* Checks whether this chunk graph contains the module. * @param {Module} module the module * @param {RuntimeSpec} runtime the runtime * @returns {boolean} true, if the module has hashes for this runtime
(module, runtime)
| 1609 | * @returns {boolean} true, if the module has hashes for this runtime |
| 1610 | */ |
| 1611 | hasModuleHashes(module, runtime) { |
| 1612 | const cgm = this._getChunkGraphModule(module); |
| 1613 | const hashes = /** @type {RuntimeSpecMap<ModuleHashInfo>} */ (cgm.hashes); |
| 1614 | return hashes && hashes.has(runtime); |
| 1615 | } |
| 1616 | |
| 1617 | /** |
| 1618 | * Returns hash. |
no test coverage detected