paulmillr / readdirp

Recursive version of fs.readdir with streaming api.
https://paulmillr.com
MIT License
381 stars 51 forks source link

In windows readdirp.statfn() may resolve multiple files with same inode #61

Closed garu57 closed 5 years ago

garu57 commented 5 years ago

Due to issue #12115 in node.js, readdirp.statfn() in windows can return a stat object with same inode for multiple files.

As per solution of the referred issue you should allow passing option {bigint: true} to fs.stat() and fs.lstat(). Thanks.

paulmillr commented 5 years ago

We aren't using stat by default anymore.