(src, dest, opts)
| 321 | } |
| 322 | |
| 323 | async function copyDir(src, dest, opts) { |
| 324 | const dir = await opendir(src); |
| 325 | |
| 326 | for await (const { name } of dir) { |
| 327 | const srcItem = join(src, name); |
| 328 | const destItem = join(dest, name); |
| 329 | const { destStat, skipped } = await checkPaths(srcItem, destItem, opts); |
| 330 | if (!skipped) await getStatsForCopy(destStat, srcItem, destItem, opts); |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | async function onLink(destStat, src, dest, opts) { |
| 335 | let resolvedSrc = await readlink(src); |
no test coverage detected
searching dependent graphs…