(template)
| 120 | * @returns {boolean} true when it references the compilation `[fullhash]`/`[hash]` |
| 121 | */ |
| 122 | const usesFullHash = (template) => { |
| 123 | const kinds = getPresentKinds(template); |
| 124 | return kinds.has("fullhash") || kinds.has("hash"); |
| 125 | }; |
| 126 | |
| 127 | // `[fullhash:<digest>]`/`[hash:<digest>]` — a non-numeric first arg is a digest (a |
| 128 | // numeric one is just a length). The re-encoded full hash must be inlined post-hash |
no test coverage detected