| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I'm Bonk, and I've done a quick review of your PR. PR #7098 snapshots source directory entries before recursive node:fs copies.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes node:fs cp functions to handle subdirectories that contain symlink properly.
When the dest directory contains a symlink to the src directory, it could free up the memory of the src directory during the copy.
This fixes it by holding a refcount of all the entries in the src directory before performing the copy.