-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support for File System APIs #163
Comments
Thanks for the reasonable suggestion @gliviu I wonder if there is an easy way to supply dir-compare the " |
I just had a (very) quick look at I'd be very happy to support here if necessary. |
Thanks Any support would be much appreciated 🙏 |
Hello. A little bit late, but here are my thoughts. dir-compare uses the native 'fs' module, and having it use the VSCode FileSystemProvider will indeed require some kind of wrapper. For reference, this is the fs functionality used by dir-compare: Most of these functions are not difficult to emulate. In addition to that, dir-compare will have to be changed to use a provided 'fs'-like module. This involves passing the module in the options and updating the codebase to use options.fs instead of fs itself. And perhaps the most difficult task is testing the whole implementation in all kinds of scenarios. From my point of view, if @gbrueckl wants to give it a try, I can provide the options.fs implementation. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Are there any plans to also support custom VSCode FileSystemProvider
i am currently working on two VSCode extensions which heavily rely on them and it would be great to compare different files and folders from my custom file system.
its basically about exchanging all references to fs with vscode.fs and slight modifications if some functions are different/not there
regards,
-gerhard
The text was updated successfully, but these errors were encountered: