MCPcopy
hub / github.com/webpack/webpack / addContextTimestamps

Method addContextTimestamps

lib/FileSystemInfo.js:1629–1632  ·  view source on GitHub ↗

* Adds context timestamps. * @param {ReadonlyMap<string, ContextTimestamp>} map timestamps * @param {boolean=} immutable if 'map' is immutable and FileSystemInfo can keep referencing it * @returns {void}

(map, immutable)

Source from the content-addressed store, hash-verified

1627 * @returns {void}
1628 */
1629 addContextTimestamps(map, immutable) {
1630 this._contextTimestamps.addAll(map, immutable);
1631 this._cachedDeprecatedContextTimestamps = undefined;
1632 }
1633
1634 /**
1635 * Gets file timestamp.

Callers 2

constructorMethod · 0.80

Calls 1

addAllMethod · 0.45

Tested by

no test coverage detected