Open endorama opened 6 months ago
os.Create
truncates file when already present. I suspect this is the issue, as those files should be created during setup
and not touched afterwards.
I'm thinking of refactoring how the setup works: instead of directly performing actions affecting the fs, return some structure like plugin.Generated
(should support folders too) and let the plugin manager handle that.
When rehashing the mentioned files are always emptied (as overwritten with an empty content).