Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWojciech Wnętrzak <w.wnetrzak@gmail.com>2011-07-14 15:17:40 +0400
committerisaacs <i@izs.me>2011-07-15 20:54:56 +0400
commit25c1a5e804950ccbad1b94120e06816fe3d6c9fb (patch)
tree1d0aa62fdf895a6b8e32bce211a3de1fc8ac2e90 /doc
parent3c733c57b7974fa9142babbe1515a4823cfde76b (diff)
added information about relative paths in File System module
Diffstat (limited to 'doc')
-rw-r--r--doc/api/fs.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/fs.markdown b/doc/api/fs.markdown
index 669b61dc515..21fbd2167ac 100644
--- a/doc/api/fs.markdown
+++ b/doc/api/fs.markdown
@@ -52,6 +52,9 @@ In busy processes, the programmer is _strongly encouraged_ to use the
asynchronous versions of these calls. The synchronous versions will block
the entire process until they complete--halting all connections.
+Relative path to filename can be used, remember however that this path will be relative
+to `process.cwd()`.
+
### fs.rename(path1, path2, [callback])
Asynchronous rename(2). No arguments other than a possible exception are given