(bytes: Uint8Array)
| 25 | } from "./source-save"; |
| 26 | |
| 27 | export function hashSourceBytes(bytes: Uint8Array): string { |
| 28 | return `sha256:${createHash("sha256").update(bytes).digest("hex")}`; |
| 29 | } |
| 30 | |
| 31 | function isFileExistsError(error: unknown): boolean { |
| 32 | return ( |
no test coverage detected