Browse Source

Fix readdirSync in docs

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
f0f2d2ee70
  1. 2
      doc/api.txt

2
doc/api.txt

@ -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 callback gets two arguments +(err, files)+ where +files+ is an array of
the names of the files in the directory excluding +"."+ and +".."+. 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 Synchronous readdir(3). Returns an array of filenames excluding +"."+ and
+".."+. +".."+.

Loading…
Cancel
Save