joyent/libuv — pull request #1420 by indutny (2014-08-14 07:26:51+00:00)
Title: fs: introduce uv_readdir_next() and report types

Introduce:

int uv_fs_readdir_next(uv_fs_t* req, uv_dirent_t* ent);

`uv_fs_readdir()` is not returning a file names list in `req->ptr`
anymore, the proper way to gather them is to call `uv_fs_readdir_next()`
in a callback.

cc @saghul