Pluggable FileSystem Providers


I would like to know whether it is possible to write a pluggable filesystem provider. The goal is to be able to write a plugin to allow adding a ‘folder’ via a network service which implements the FS via REST calls. the REST Api would provide all typical FS functionality and the plugin would cache files locally if needed and sync with the REST APi or work in-memory.

Some of this might be possible by just implementing a sync feature of course but i am looking for an alternative ‘deeper’ integration.

It is somewhat similiar to the remote-edit discussion here: Remote-edit: sftp/ftp remote edit package available