added information about relative paths in File System module
authorWojciech Wnętrzak <w.wnetrzak@gmail.com>
Thu, 14 Jul 2011 11:17:40 +0000 (13:17 +0200)
committerisaacs <i@izs.me>
Fri, 15 Jul 2011 16:54:56 +0000 (09:54 -0700)
doc/api/fs.markdown

index 669b61d..21fbd21 100644 (file)
@@ -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