Skip to content

doc: clarify copyFile symlink behavior - #62941

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
cookesan:docs/copyfile-symlinks
Aug 18, 2026
Merged

doc: clarify copyFile symlink behavior#62941
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
cookesan:docs/copyfile-symlinks

Conversation

@cookesan

Copy link
Copy Markdown
Contributor

Summary

  • document that copyFile APIs follow symbolic links
  • cover source and destination symbolic-link behavior for callback, promise, and sync variants

Fixes: #61518

Testing

  • node tools/lint-md/lint-md.mjs doc/api/fs.md
  • make doc-only
  • make lint-js-doc
  • make lint-md
  • git diff --check
  • manual Node assertion script for source and destination symbolic-link behavior

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system. labels Apr 24, 2026
@cookesan
cookesan marked this pull request as ready for review April 24, 2026 23:34
Signed-off-by: T <cookesan@users.noreply.github.com>
@cookesan
cookesan force-pushed the docs/copyfile-symlinks branch from 35a4e21 to eaa830d Compare April 30, 2026 20:32
@cookesan

cookesan commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

Status note: this is approved and the current checks are green. If no further changes are needed, this should be ready for a committer to land.

@trivikr trivikr added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 18, 2026
@nodejs-github-bot
nodejs-github-bot merged commit 0d84f29 into nodejs:main Aug 18, 2026
19 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 0d84f29

@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. fs Issues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that fs.copyFile() dereferences symlinks

4 participants