(asset)
| 385 | * @returns {Etag} etag |
| 386 | */ |
| 387 | const getEtag = (asset) => |
| 388 | cacheGenerate.mergeEtags( |
| 389 | cacheGenerate.getLazyHashedEtag(asset.source), |
| 390 | Array.from( |
| 391 | /** @type {Hashes} */ (asset.referencedHashes), |
| 392 | (hash) => hashToNewHash.get(hash) |
| 393 | ).join("|") |
| 394 | ); |
| 395 | /** |
| 396 | * Compute new content. |
| 397 | * @param {AssetInfoForRealContentHash} asset asset info |
nothing calls this directly
no test coverage detected