Skip to content

Document that fs.copyFile() dereferences symlinks #61518

Description

@sindresorhus

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 dereferences.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to Node.js documentation.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions