doc: clarify fs.link and fs.linkSync arguments · nodejs/node@30f7802 · GitHub
Skip to content

Commit 30f7802

Browse files
kemitchellMylesBorins
authored andcommitted
doc: clarify fs.link and fs.linkSync arguments
Clarifies documentation by replacing the argument names `srcpath` and `dstpath` with more descriptive `existingPath` and `newPath`, reflecting how POSIX describes `link()`. PR-URL: #9145 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
1 parent db10e94 commit 30f7802

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

doc/api/fs.md

Lines changed: 6 additions & 6 deletions

0 commit comments

Comments
 (0)