MCPcopy
hub / github.com/webpack/webpack / getCache

Method getCache

lib/Compiler.js:381–387  ·  lib/Compiler.js::Compiler.getCache

* Returns the cache facade instance. * @param {string} name cache name * @returns {CacheFacade} the cache facade instance

(name)

Source from the content-addressed store, hash-verified

379 * @returns {CacheFacade} the cache facade instance
380 */
381 getCache(name) {
382 return new CacheFacade(
383 this.cache,
384 `${this.compilerPath}${name}`,
385 this.options.output.hashFunction
386 );
387 }
388
389 /**
390 * Gets infrastructure logger.

Callers 10

_applyOnCompilerMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
applyFunction · 0.45
applyFunction · 0.45
applyFunction · 0.45

Calls

no outgoing calls

Tested by 1

applyFunction · 0.36