(modules)
| 1928 | * @param {Set<Module>} modules modules |
| 1929 | */ |
| 1930 | const addModulesToHash = (modules) => { |
| 1931 | let xor = ZERO_BIG_INT; |
| 1932 | for (const m of modules) { |
| 1933 | xor ^= this._getModuleGraphHashBigInt( |
| 1934 | this._getChunkGraphModule(m), |
| 1935 | m, |
| 1936 | runtime |
| 1937 | ); |
| 1938 | } |
| 1939 | hash.update(xor.toString(16)); |
| 1940 | }; |
| 1941 | if (activeNamespaceModules.size === 1) { |
| 1942 | addModuleToHash( |
| 1943 | /** @type {Module} */ (activeNamespaceModules.values().next().value) |
nothing calls this directly
no test coverage detected