Remove extraneous fs.stat calls (#27779)
## Performance improvement - [x] Performance improvement Uses `fs.readdir`'s `withFileTypes` option, added in NodeJS version 10, to simultaneously read the target directories files and their stats, removing the need to call `fs.stat` on each of the files individually. Similar to #27769, applies the same change to `recursiveCopy` and `recursiveDelete`.
Showing
Please
register
or
sign in
to comment