diff options
author | Wojciech Wnętrzak <w.wnetrzak@gmail.com> | 2011-07-14 15:17:40 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-07-15 20:54:56 +0400 |
commit | 25c1a5e804950ccbad1b94120e06816fe3d6c9fb (patch) | |
tree | 1d0aa62fdf895a6b8e32bce211a3de1fc8ac2e90 /doc | |
parent | 3c733c57b7974fa9142babbe1515a4823cfde76b (diff) |
added information about relative paths in File System module
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/fs.markdown | 3 |
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 |