rust-vfs icon indicating copy to clipboard operation
rust-vfs copied to clipboard

Idea: Implement a VFS based on GitHub Gist

Open mbechto opened this issue 1 year ago • 4 comments

Hi!

I am currently working on a little project, which is (yet another) todo list, that can be maintained in the local filesystem or in a private GitHub gist. Recently, I thought of introducing a kind of an abstraction layer, a VFS. Then I stumbled upon this crate!

Would you be open to the idea to add a gist based VFS?

If so, I would be happy to allocate some time for this and come back to you with a PR. But tbh. the implementation will have some limitations: gists are flat (no directories permitted, only files). So to make it work the operations create_dir etc. will need to be moved to another trait (HierarchicalFs vs. FlatFs) or produce a runtime error...

mbechto avatar Nov 28 '23 15:11 mbechto