* Returns file hash. * @param {string} path file path * @param {(err?: WebpackError | null, hash?: string | null) => void} callback callback function * @returns {void}
(path, callback)
| 1721 | * @returns {void} |
| 1722 | */ |
| 1723 | getFileHash(path, callback) { |
| 1724 | const cache = this._fileHashes.get(path); |
| 1725 | if (cache !== undefined) return callback(null, cache); |
| 1726 | this.fileHashQueue.add(path, callback); |
| 1727 | } |
| 1728 | |
| 1729 | /** |
| 1730 | * Returns context hash. |
no test coverage detected