An addon calls a python script as backend. The backend changes the content of some files under webserver-root/store/nick.
The file attributes in the database (subsequently in /cloud/ ) are not updated
What I tried?
I looked at the class Code/Storage/File.php
I woud go for...
- check wether the python script has finished (this has been accomplished for some other reasons)
- check compare the modified time of the file under storage/nick/ with the "edited" timestamp in the database
- update "edited" and "filesize" if needed
Is there any better approach?
Might it be usefull to implement a function "touch" in Code/Storage/File.php?