afero icon indicating copy to clipboard operation
afero copied to clipboard

A logging FS

Open julian-klode opened this issue 3 years ago • 1 comments

I just thought it would be useful for testing purposes to have a LoggingFS (JournalFS) that wraps other FS and logs all calls, then you can go around later and check which calls have been made. Like a function to update a file atomatically, you can check that it called rename(some name, final name) or stuff (arguably some InodeFS would suffice for that / be more useful).

Opinions on that?

julian-klode avatar Nov 10 '21 17:11 julian-klode

I had something similar but different in mind which is the tracking of files that the application created allowing for a clean uninstallation process of the app. In case the files were deleted the might as well be deleted from tacking (some internal map structure). It's a simpler approach but one that might help for specifically defined purposes like the one I mentioned.

jxsl13 avatar Mar 01 '22 22:03 jxsl13