(chunk: Uint8Array)
| 171 | let carry: Uint8Array | undefined; |
| 172 | |
| 173 | const flush = (chunk: Uint8Array): void => { |
| 174 | const hash = sha256(chunk); |
| 175 | stageBlob(db, hash, chunk, mtime); |
| 176 | chunkRefs.push({ hash, size: chunk.byteLength }); |
| 177 | }; |
| 178 | |
| 179 | const reader = source.getReader(); |
| 180 | try { |
no test coverage detected