Closed dazinator closed 5 years ago
Send a PR to allow setup own fs
Currently, the methods that access fs
are defined at the prototype level:
I think I'd need to remove that and have them declared at the class instance level, so that if a custom fs
is passed in the constructor then that can be used, otherwise fall back to default fs
implementation based on the graceful-fs
. Does this sound ok with you?
Yes
Great. PR #173 Submitted!
fixed, you can pass a fileSystem
i. e. fs
or memfs
Hello,
I would like to use an alternative underlying
fs
implementation, such asmemfs
orunionfs
I am not sure If I can do this, as NodeJsInputFileSystem seems to be harcoded to use a particular underlyingfs
implementation. What would be the best way to go about this? Thanks