node-filewalker icon indicating copy to clipboard operation
node-filewalker copied to clipboard

Now options may have a 'readStream' option

Open thiagodp opened this issue 7 years ago • 1 comments

This replaces the PR 18. As mentioned in Issue 17, but now readStream may be included in options, instead of being passed as an argument to filewalker.

var options = {
  readStream: {
    highWaterMark: 1024 * 1024 // 1 MB
  }
};
filewalker( path, options );

A test case was also included (in basic-test.js).

thiagodp avatar Dec 21 '17 03:12 thiagodp

@oleics Ready to merge

thiagodp avatar Jan 22 '18 17:01 thiagodp