(srcFh, dstFh, upper, compressFactory, pipeToSync)
| 92 | } |
| 93 | |
| 94 | function runSync(srcFh, dstFh, upper, compressFactory, pipeToSync) { |
| 95 | const w = dstFh.writer(); |
| 96 | pipeToSync(srcFh.pullSync(upper, compressFactory()), w); |
| 97 | return w.endSync(); |
| 98 | } |
| 99 | |
| 100 | function cleanup() { |
| 101 | try { unlinkSync(srcFile); } catch { /* Ignore */ } |
no test coverage detected
searching dependent graphs…