Skip to content

Commit 164ce76

Browse files
Ryan McGrathry
Ryan McGrath
authored andcommitted
Added in API documentation concerning the (seemingly undocumented) process.chdir() method, complementary to process.cwd()
1 parent 89a3fa9 commit 164ce76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api.txt

+3
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ success code 0.
130130
+process.cwd()+::
131131
Returns the current working directory of the process.
132132

133+
+process.chdir(directory)+::
134+
Changes the current working directory of the process.
135+
133136
+process.umask(mask)+ ::
134137
Sets the process's file mode creation mask. Child processes inherit the mask
135138
from the parent process.

0 commit comments

Comments
 (0)