joyent / libuv

Go to
https://github.com/libuv/libuv
3.27k stars 653 forks source link

fs: uv_fs_{open,read,close}_dir #1574

Closed misterdjules closed 9 years ago

misterdjules commented 10 years ago

Tested on Linux, MacOS X, SmartOS and Windows.

Fixes #1430.

misterdjules commented 10 years ago

@saghul @tjfontaine Reopening a new PR because GitHub wouldn't let me reopen #1521.

The code has been updated to follow @saghul's design closely.

There are still a few of things that are unclear or missing:

Currently, all tests pass on all supported platforms. I've also done a lot of tests with directories containing more than 1 million entries, and the memory footprint stays constant and low.

Hopefully this is a step in the right direction!

Thank you,

saghul commented 9 years ago

Sorry, this fell through the cracks, can you please reopen it at libuv/libuv? Thanks!