From 164ce76e941490e82230e905e719b5b556b669f5 Mon Sep 17 00:00:00 2001 From: Ryan McGrath Date: Fri, 18 Dec 2009 01:08:10 -0500 Subject: [PATCH] Added in API documentation concerning the (seemingly undocumented) process.chdir() method, complementary to process.cwd() --- doc/api.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api.txt b/doc/api.txt index 527f703b4f..c5a4d1d471 100644 --- a/doc/api.txt +++ b/doc/api.txt @@ -130,6 +130,9 @@ success code 0. +process.cwd()+:: Returns the current working directory of the process. ++process.chdir(directory)+:: +Changes the current working directory of the process. + +process.umask(mask)+ :: Sets the process's file mode creation mask. Child processes inherit the mask from the parent process.