MCPcopy
hub / github.com/webpack/webpack / freeze

Method freeze

lib/ModuleGraph.js:964–967  ·  view source on GitHub ↗

* Processes the provided cache stage. * @param {string=} cacheStage a persistent stage name for caching

(cacheStage)

Source from the content-addressed store, hash-verified

962 * @param {string=} cacheStage a persistent stage name for caching
963 */
964 freeze(cacheStage) {
965 this._cache = new WeakTupleMap();
966 this._cacheStage = cacheStage;
967 }
968
969 unfreeze() {
970 this._cache = undefined;

Callers 15

constructorMethod · 0.80
mergeExportsFunction · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
Compilation.jsFile · 0.80
constructorMethod · 0.80
finishMethod · 0.80
sealMethod · 0.80
contMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected