MCPcopy
hub / github.com/webpack/webpack / getItemCache

Method getItemCache

lib/CacheFacade.js:249–255  ·  view source on GitHub ↗

* Returns item cache. * @param {string} identifier the cache identifier * @param {Etag | null} etag the etag * @returns {ItemCacheFacade} item cache

(identifier, etag)

Source from the content-addressed store, hash-verified

247 * @returns {ItemCacheFacade} item cache
248 */
249 getItemCache(identifier, etag) {
250 return new ItemCacheFacade(
251 this._cache,
252 `${this._name}|${identifier}`,
253 etag
254 );
255 }
256
257 /**
258 * Gets lazy hashed etag.

Callers 9

_applyOnCompilerMethod · 0.80
applyMethod · 0.80
_codeGenerationModuleMethod · 0.80
createChunkAssetsMethod · 0.80
applyMethod · 0.80
factoryMethod · 0.80
applyFunction · 0.80
applyFunction · 0.80
applyFunction · 0.80

Calls

no outgoing calls

Tested by 1

applyFunction · 0.64