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

[feature] Option to use another fs

Open thiagodp opened this issue 5 years ago • 0 comments

Add an option fs to be able to use in-memory file systems such as memfs. This is very useful for testing purposes.

Example:

var memfs = require( 'memfs' );
var options = {
  fs: memfs.fs
};
filewalker( '/', options );

thiagodp avatar Mar 27 '19 01:03 thiagodp