Fix readdirSync in docs

This commit is contained in:
Ryan Dahl 2010-02-22 14:04:54 -08:00
parent dc041628ce
commit f0f2d2ee70

View File

@ -637,7 +637,7 @@ Asynchronous readdir(3). Reads the contents of a directory.
The callback gets two arguments +(err, files)+ where +files+ is an array of
the names of the files in the directory excluding +"."+ and +".."+.
+fs.readdir(path, callback)+ ::
+fs.readdirSync(path)+ ::
Synchronous readdir(3). Returns an array of filenames excluding +"."+ and
+".."+.