(input: CacheKeyInput)
| 115 | * Compute the SHA-256 hex digest for a cache key input. |
| 116 | */ |
| 117 | export function computeCacheKey(input: CacheKeyInput): string { |
| 118 | return createHash("sha256").update(canonicalKeyBlob(input)).digest("hex"); |
| 119 | } |
| 120 | |
| 121 | /** |
| 122 | * Derive the truncated cache-entry directory name from a full key hash. |
no test coverage detected