MCPcopy
hub / github.com/webpack/webpack / _findLocation

Method _findLocation

lib/cache/PackFileCacheStrategy.js:258–263  ·  view source on GitHub ↗

* Returns new location of data entries. * @returns {number} new location of data entries

()

Source from the content-addressed store, hash-verified

256 * @returns {number} new location of data entries
257 */
258 _findLocation() {
259 /** @type {number} */
260 let i;
261 for (i = 0; i < this.content.length && this.content[i] !== undefined; i++);
262 return i;
263 }
264
265 /**
266 * Gc and update location.

Callers 3

createNextPackMethod · 0.95
_optimizeSmallContentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected