So far I had only most pleasant experience on this forum when it came to both technical and conceptual advises and solutions members have provided their insights for. Now I am looking for more cosmetic solution. What I have is a directory tree that consists of files and folders . My tool, once the path is provided has hardcoded location where is what and what needs to be done to execute the computation. The directory tree is always the same but i noticed users tend to open it and change some files inside to accommodate their particular use cases without properly addressing them through the API. As a result a huge mess is created and once these directories are shifted to another location for a different tool to be used it does not work anymore (and then I am to be blamed). Basically indexes are messed up and since it is a large data structure located inside it is very difficult to revert the changes. So my question is: Is there a way to archive the directory tree into one "file" but to allow the tools to use it as a regular directory with all paths written somewhere and full functional io operations, so that one cannot access it from outside ? (maybe some king do image file or something) and are there any small examples on how to do it in rust?
Thank you so much!!