Open maikebing opened 5 years ago
Thank you.
It would be pretty cool to be able to plug in a IFileProvider
(Microsoft.Extensions.FileProviders) for read only access to files. This would be the native interface used in asp.net core applications (and now .net 5) to enable read access to files from a virtual directory (i.e could be backed by physical provider, composite provider, in memory provider etc etc). This abstraction doesn't provide write operations though.
Virtual directories (and mount points to other file systems) aren't supported yet.
You may get it working though by implementing your own virtual file system which then redirects all calls to the underlying file system(s).