Skip to content

Commit 9a16f1c

Browse files
morgothisaacs
authored andcommitted
added information about relative paths in File System module
1 parent 8caf7fd commit 9a16f1c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ In busy processes, the programmer is _strongly encouraged_ to use the
5252
asynchronous versions of these calls. The synchronous versions will block
5353
the entire process until they complete--halting all connections.
5454

55+
Relative path to filename can be used, remember however that this path will be relative
56+
to `process.cwd()`.
57+
5558
### fs.rename(path1, path2, [callback])
5659

5760
Asynchronous rename(2). No arguments other than a possible exception are given

0 commit comments

Comments
 (0)