MCPcopy
hub / github.com/webpack/webpack / get

Method get

lib/CacheFacade.js:284–286  ·  view source on GitHub ↗

* Returns value. * @template T * @param {string} identifier the cache identifier * @param {Etag | null} etag the etag * @param {CallbackCache<T>} callback signals when the value is retrieved * @returns {void}

(identifier, etag, callback)

Source from the content-addressed store, hash-verified

282 * @returns {void}
283 */
284 get(identifier, etag, callback) {
285 this._cache.get(`${this._name}|${identifier}`, etag, callback);
286 }
287
288 /**
289 * Returns promise with the data.

Callers 5

provideMethod · 0.95
getMethod · 0.45
getMethod · 0.45
getPromiseMethod · 0.45
getPromiseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected