mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: improve explanation for directory with fs.rename()
PR-URL: https://github.com/nodejs/node/pull/27963 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
This commit is contained in:
1 parent
5539d7e360
commit
e7ca3987a2
1 file changed
+2
-1
+2
-1
@@ -2898,7 +2898,8 @@ changes:
|
||||
|
||||
Asynchronously rename file at `oldPath` to the pathname provided
|
||||
as `newPath`. In the case that `newPath` already exists, it will
|
||||
be overwritten. No arguments other than a possible exception are
|
||||
be overwritten. If there is a directory at `newPath`, an error will
|
||||
be raised instead. No arguments other than a possible exception are
|
||||
given to the completion callback.
|
||||
|
||||
See also: rename(2).
|
||||
|
||||
Reference in new issue
Block a user