(filePath)
| 96 | } |
| 97 | |
| 98 | function sha256File(filePath) { |
| 99 | const content = fs.readFileSync(filePath); |
| 100 | return createHash("sha256").update(content).digest("hex"); |
| 101 | } |
| 102 | |
| 103 | function writeFileWithManifest(src, dest, manifest, payloadRoot) { |
| 104 | fs.mkdirSync(path.dirname(dest), { recursive: true }); |
no test coverage detected