![]() |
|
[C#] C# In-Memory FileSystem - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] C# In-Memory FileSystem (/showthread.php?tid=4295992) |
C# In-Memory FileSystem - Mr Liam - Jun 20, 2014 Google released a project on GitHub called jimfs but was made in Java. I liked the idea of it and created it in C#. It allows you to create files in the memory and then export the entire FileSystem for later use and importing back into the memory again. It's all OOP so you can take the \API\ folder and import it into your own project to do some interesting things with. Hope someone finds this useful. https://github.com/MrLiam/cinfs * - Assault - Jun 20, 2014 There are some flaws in your system. For example, if I were to use the text ":" in one of my files and export/import it... The following would fail & load stuff improperly.
* - Mr Liam - Jun 20, 2014 (Jun 20, 2014 06:17 AM)Assault Wrote: There are some flaws in your system. Do you mean as the name? I know that needs to be changed, the current (the bad) way around that is to make I replace ":" inside the name when creating it. Edit: TY for your time and looking through the code |