* Get unresolved context timestamp. Existence-only cache entries (`{}`) * are bypassed so the callback always receives a complete entry, "ignore" * or null. * @private * @param {string} path context path * @param {(err?: WebpackError | null, contextTimestamp?: ContextFileSystemInfoEntry |
(path, callback)
| 1704 | * @returns {void} |
| 1705 | */ |
| 1706 | _getUnresolvedContextTimestamp(path, callback) { |
| 1707 | const cache = this._contextTimestamps.get(path); |
| 1708 | if (cache !== undefined && !isExistenceOnly(cache)) { |
| 1709 | return callback( |
| 1710 | null, |
| 1711 | /** @type {ContextFileSystemInfoEntry | class="st">"ignore" | null} */ (cache) |
| 1712 | ); |
| 1713 | } |
| 1714 | this.contextTimestampQueue.add(path, callback); |
| 1715 | } |
| 1716 | |
| 1717 | /** |
| 1718 | * Returns file hash. |
no test coverage detected