file-exists icon indicating copy to clipboard operation
file-exists copied to clipboard

Allow alternative fs to be provided via options

Open dazinator opened this issue 5 years ago • 2 comments

The background on this is here: https://github.com/pahen/madge/issues/186 I am working my way through the stack, and anything that directly uses fs I am seeing if we can allow an alternative fs implementation to be passed in. This allows some interesting scenarios like supporting virtual file systems, with things like unionfs and memfs.

Would you be open to a PR that allows an additional fileSystem option to be passed in, and if it is, will use that instead of the default fs ?

dazinator avatar Dec 10 '18 18:12 dazinator