Title: Document that `fs.copyFile()` dereferences symlinks · Issue #61518 · nodejs/node · GitHub
Open Graph Title: Document that `fs.copyFile()` dereferences symlinks · Issue #61518 · nodejs/node
X Title: Document that `fs.copyFile()` dereferences symlinks · Issue #61518 · nodejs/node
Description: Affected URL(s) https://nodejs.org/api/fs.html#fscopyfilesrc-dest-mode-callback Description of the problem Currently undocumented. fs.cp() documents its symlink behavior via dereference option; fs.copyFile() should note that it always de...
Open Graph Description: Affected URL(s) https://nodejs.org/api/fs.html#fscopyfilesrc-dest-mode-callback Description of the problem Currently undocumented. fs.cp() documents its symlink behavior via dereference option; fs....
X Description: Affected URL(s) https://nodejs.org/api/fs.html#fscopyfilesrc-dest-mode-callback Description of the problem Currently undocumented. fs.cp() documents its symlink behavior via dereference option; fs....
Opengraph URL: https://github.com/nodejs/node/issues/61518
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Document that `fs.copyFile()` dereferences symlinks","articleBody":"### Affected URL(s)\n\nhttps://nodejs.org/api/fs.html#fscopyfilesrc-dest-mode-callback\n\n### Description of the problem\n\nCurrently undocumented.\n\n`fs.cp()` documents its symlink behavior via `dereference` option; `fs.copyFile()` should note that it always dereferences.","author":{"url":"https://github.com/sindresorhus","@type":"Person","name":"sindresorhus"},"datePublished":"2026-01-25T07:56:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/61518/node/issues/61518"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f685b288-99e6-2452-6e73-bce530c5a76b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1D2:231C2E:2268B1:2EE6B1:6A4C77B1 |
| html-safe-nonce | 02c222a659f97ed4e631aede3946d7d29c8c56dd56ae55d91c1877f1e444afe1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUQyOjIzMUMyRToyMjY4QjE6MkVFNkIxOjZBNEM3N0IxIiwidmlzaXRvcl9pZCI6IjU1OTMzMTc3ODY2MDIyMDcxNTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 30639b0ff9545812fef421c912e76455c5a26343760a467c66ac258236aeafc6 |
| hovercard-subject-tag | issue:3852810551 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/61518/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be358b070e774ab25eda5fdfb49b7e6e04317e2cbffbcc36e0fd1361bc12fa7b/nodejs/node/issues/61518 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be358b070e774ab25eda5fdfb49b7e6e04317e2cbffbcc36e0fd1361bc12fa7b/nodejs/node/issues/61518 |
| og:image:alt | Affected URL(s) https://nodejs.org/api/fs.html#fscopyfilesrc-dest-mode-callback Description of the problem Currently undocumented. fs.cp() documents its symlink behavior via dereference option; fs.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sindresorhus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56ac743bebb13694b888673bb7257f4b97a4b7fd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width