Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow alternative fs to be provided via options #14

Open
dazinator opened this issue Dec 10, 2018 · 2 comments
Open

Allow alternative fs to be provided via options #14

dazinator opened this issue Dec 10, 2018 · 2 comments

Comments

@dazinator
Copy link

The background on this is here: pahen/madge#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
Copy link
Author

Have submitted a PR as it seemed fairly straightforward.

@dazinator
Copy link
Author

As no response I created a fork in the end and have put change there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant