MCPcopy
hub / github.com/webpack/webpack / addFileTimestamps

Method addFileTimestamps

lib/FileSystemInfo.js:1618–1621  ·  view source on GitHub ↗

* Adds file timestamps. * @param {ReadonlyMap<string, FileTimestamp>} 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

1616 * @returns {void}
1617 */
1618 addFileTimestamps(map, immutable) {
1619 this._fileTimestamps.addAll(map, immutable);
1620 this._cachedDeprecatedFileTimestamps = undefined;
1621 }
1622
1623 /**
1624 * Adds context timestamps.

Callers 3

constructorMethod · 0.80
createFsInfoFunction · 0.80

Calls 1

addAllMethod · 0.45

Tested by

no test coverage detected