MCPcopy
hub / github.com/webpack/webpack / getContextIterable

Method getContextIterable

lib/FileSystemInfo.js:617–627  ·  view source on GitHub ↗

* Gets context iterable. * @returns {Iterable<string>} iterable

()

Source from the content-addressed store, hash-verified

615 * @returns {Iterable<string>} iterable
616 */
617 getContextIterable() {
618 if (this._cachedContextIterable === undefined) {
619 this._cachedContextIterable = this._createIterable((s) => [
620 s.contextTimestamps,
621 s.contextHashes,
622 s.contextTshs,
623 s.managedContexts
624 ]);
625 }
626 return this._cachedContextIterable;
627 }
628
629 /**
630 * Gets missing iterable.

Callers 3

addCacheDependenciesMethod · 0.80
processCacheResultMethod · 0.80

Calls 1

_createIterableMethod · 0.95

Tested by

no test coverage detected