(source: string)
| 1140 | } |
| 1141 | |
| 1142 | function hashSource(source: string): string { |
| 1143 | return `sha256:${crypto.createHash("sha256").update(source).digest("hex")}`; |
| 1144 | } |
| 1145 | |
| 1146 | async function appendJsonLine(filePath: string, value: unknown): Promise<void> { |
| 1147 | await fs.mkdir(path.dirname(filePath), { recursive: true }); |
no test coverage detected