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

Support recursive option for File and Directory in node_io

Open jathak opened this issue 3 years ago • 0 comments

Some of these now have built-in Node support (like {File,Directory}.create), while others (like Directory.list) will require implementing it manually, but not supporting this option prevents node_io from being a drop-in replacement for dart:io in many cases (like in glob, as we've found in sass/migrator#189).

For the methods we have to reimplement manually, this can be resolved with just changes to node_io, but passing the recursive option to some of the Node methods that now support it will require changes to node_interop as well.

jathak avatar May 24 '21 17:05 jathak